Project

General

Profile

Actions

Bug #48722

open

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

Added by wang kevin over 3 years ago. Updated over 3 years 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 (v1):
Crash signature (v2):

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/&quot;&gt;&lt;/LocationConstraint>

But "nosuchbucket" is more reasonable.

Actions #2

Updated by Casey Bodley over 3 years ago

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

Also available in: Atom PDF