Feature #61887
opens3: GetBucketLocation should also return placement target
0%
Description
rgw extends CreateBucket to allow the LocationConstraint to specify a placement target: https://docs.ceph.com/en/latest/radosgw/placement/#s3-bucket-placement
the GetBucketLocation API only returns the 'region' part of that LocationConstraint, so there is currently no way for an s3 client to query the placement target
the GetBucketLocation xml response only includes the <LocationConstraint> element, so we can't extend the response to add another field. a response header like x-rgw-bucket-placement-target is probably the best option for this
Updated by Casey Bodley 11 months ago
- Tags changed from s3 placement to s3 placement low-hanging-fruit
Updated by Shreyansh Sancheti 8 months ago
Casey Bodley wrote:
rgw extends CreateBucket to allow the LocationConstraint to specify a placement target: https://docs.ceph.com/en/latest/radosgw/placement/#s3-bucket-placement
the GetBucketLocation API only returns the 'region' part of that LocationConstraint, so there is currently no way for an s3 client to query the placement target
the GetBucketLocation xml response only includes the <LocationConstraint> element, so we can't extend the response to add another field. a response header like x-rgw-bucket-placement-target is probably the best option for this
Can you provide more details ? Is it, that this should return the placement-target and should reflect while querying over the api endpoint.
Updated by Md Mahamudur Rahaman Sajib 18 days ago
- Assignee set to Md Mahamudur Rahaman Sajib
Updated by Casey Bodley 18 days ago
- Status changed from New to Fix Under Review
- Pull request ID set to 57152