Bug #48722
There is a bug in "GetBucketLocation" API when "Bucket" does not exist.
% Done:
100%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Description
When we use the "GetBucketLocation" API and the "Bucket" does not exist, rgw returns an empty XML file instead of a "NoSuchBucket" error, as follows:
<LocationConstraint xmlns="http://s3.amazonaws.com/doc/2006-03-01/"></LocationConstraint>
But "nosuchbucket" is more reasonable.
History
#1 Updated by wang kevin 22 days ago
Please refer to https://github.com/ceph/ceph/pull/38682
#2 Updated by Casey Bodley 12 days ago
- Status changed from New to Fix Under Review
- Pull request ID set to 38682