Bug #40466
opens3 returns incorrect region/placement
0%
Description
Using 12.2.8
Have created different pools and placement rules targeting the pools according to http://docs.ceph.com/docs/luminous/radosgw/placement/
One of my placement rules is called "dev"
$ s3cmd mb --region=:dev s3://regiontest
Bucket 's3://regiontest/' created
- radosgw-admin bucket stats | jq -r '.[] | [ .owner, .bucket, .placement_rule, .usage["rgw.main"].size_kb ] | @csv' | grep regiontest
"r01365","regiontest","dev",
- s3cmd info s3://regiontest
s3://regiontest/ (bucket):
Location: us-east-1
Payer: BucketOwner
Expiration Rule: none
Policy: none
CORS: none
ACL: r01365: FULL_CONTROL
using s3cmd in debug mode gives me this snippet
DEBUG: format_uri(): /?location
DEBUG: Sending request method_string='GET', uri=u'/?location', <headers removed>, body=(0 bytes)
DEBUG: Response:
{'data': '<LocationConstraint xmlns="http://s3.amazonaws.com/doc/2006-03-01/"></LocationConstraint>',
'headers': {'content-length': '127',
'date': 'Thu, 20 Jun 2019 13:48:50 GMT',
'x-amz-request-id': 'tx00000000000000000321a-005d0b8ec2-18755-default'},
'reason': 'OK',
'status': 200}
No data to display