Actions
Bug #53731
closedremove bucket API returns NoSuchKey than NoSuchBucket
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
100%
Source:
Tags:
admin api
Backport:
octopus pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Remove bucket API1 returns NoSuchKey but NoSuchBucket is appropriate in this case.
Code path:
RGWRadosStore::get_bucket> RGWRadosBucket::get_bucket_info> RGWBucketCtl::read_bucket_info> RGWBucketCtl::read_bucket_entrypoint_info> RGWSI_Bucket_SObj::read_bucket_entrypoint_info> RGWSI_MetaBackend_SObj::get_entry # returns -ENOENT as is. Should convert this to -ERR_NO_SUCH_BUCKET> rgw_get_system_obj> RGWSI_SysObj::Obj::ROp::stat> RGWSI_SysObj_Core::stat # return -ENOENT here.
[1]: https://docs.ceph.com/en/pacific/radosgw/adminops/#remove-bucket
Updated by Satoru Takeuchi over 2 years ago
Updated by Casey Bodley over 2 years ago
- Status changed from New to Fix Under Review
- Tags set to admin api
- Pull request ID set to 44413
Updated by Casey Bodley about 2 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport changed from octupus pacific to quincy octopus pacific
Updated by Backport Bot about 2 years ago
- Copied to Backport #54039: octopus: remove bucket API returns NoSuchKey than NoSuchBucket added
Updated by Backport Bot about 2 years ago
- Copied to Backport #54040: quincy: remove bucket API returns NoSuchKey than NoSuchBucket added
Updated by Backport Bot about 2 years ago
- Copied to Backport #54041: pacific: remove bucket API returns NoSuchKey than NoSuchBucket added
Updated by Backport Bot over 1 year ago
- Tags changed from admin api to admin api backport_processed
Updated by Konstantin Shalygin over 1 year ago
- Tags changed from admin api backport_processed to admin api
- Backport changed from quincy octopus pacific to octopus pacific
Updated by Konstantin Shalygin over 1 year ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
Actions