Project

General

Profile

Actions

Bug #48723

open

rgw:When the bucket does not exist, "putbucketails" API gives us an unreasonable error code

Added by wang kevin over 3 years ago. Updated over 3 years ago.

Status:
New
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 "putbucketacls" API, if the bucket does not exist, the error code we get is "nosuchkey", but the more reasonable one is "nosuchbucket"

<Error><Code>NoSuchKey</Code><BucketName>my-bucket1</BucketName><RequestId>tx00000000000000000001a-005fe97ebc-2a7e9-cn-north-3a</RequestId><HostId>2a7e9-cn-north-3a-cn-north</HostId></Error>

Actions #2

Updated by wang kevin over 3 years ago

Sorry, the "putbucketails" in the title should be "putbucketacl"

Actions #3

Updated by lei cao over 3 years ago

your ceph version?

Actions

Also available in: Atom PDF