Project

General

Profile

Actions

Bug #45193

closed

Admin API returns 200 instead of 404 for Get Bucket Info

Added by Nick Janus about 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
adminapi
Backport:
octopus, nautilus, mimic
Regression:
Yes
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

RGW's admin http api responds 200 with an empty response body to Get Bucket Info calls for buckets that do not exist. This behavior seems to have been introduced in Mimic and is also reproducible in Nautilus and Octopus, with either beast or civetweb as the http frontend. Luminous Get Bucket Info returns a 404 and an error response "NoSuchBucket" for non-existent buckets.

I'll update here as I continue debugging.


Related issues 4 (0 open4 closed)

Related to rgw - Bug #48073: radosgw_admin_rest failure: bucket info API gets NoSuchKey, expects NoSuchBucketResolved

Actions
Copied to rgw - Backport #48099: mimic: Admin API returns 200 instead of 404 for Get Bucket InfoRejectedActions
Copied to rgw - Backport #48100: nautilus: Admin API returns 200 instead of 404 for Get Bucket InfoResolvedNathan CutlerActions
Copied to rgw - Backport #48101: octopus: Admin API returns 200 instead of 404 for Get Bucket InfoResolvedNathan CutlerActions
Actions

Also available in: Atom PDF