Project

General

Profile

Bug #48722

There is a bug in "GetBucketLocation" API when "Bucket" does not exist.

Added by wang kevin 22 days ago. Updated 12 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Target version:
% Done:

100%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

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

#2 Updated by Casey Bodley 12 days ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 38682

Also available in: Atom PDF