Repository navigation
umbrella: rgw: add radosgw-admin bucket suspend/unsuspend commands - #71105
Conversation
|
Thank you for your contribution. Since you are not yet a member of the Ceph organization with write permissions on ceph/ceph.git, our CI will not automatically run. Any member of the Ceph organization may label this PR |
|
Hi — Releng Audit is currently failing on Missing Backport Tracker for The Backport ticket already exists as #79546 (Ceph Release= Could someone with Redmine relation permissions please add: …and then comment |
|
Ping for review, please. This is the umbrella backport of merged #69645 (tracker #79546). @ceph/rgw could someone take a look and, if you are a Ceph org member, add Releng Audit is still Missing Backport Tracker because I cannot create the |
|
ok to test |
|
ok to test |
|
/audit override |
|
✅ Audit Override Applied by @adamemerson. |
|
jenkins test docs |
|
This PR has been added to umbrella integration testing by anuchaithra started 2026-10-06-07:47. |
pr testing completed and approved by @ivancich, more details in https://tracker.ceph.com/issues/81456. |
Add per-bucket suspend and unsuspend via radosgw-admin without suspending the bucket owner. S3 and Swift requests against a suspended bucket fail with 403 BucketSuspended (distinct from UserSuspended). Expose the suspended field in bucket stats output. Propagate read_bucket_policy errors from rgw_build_bucket_policies so suspended buckets are rejected during permission setup rather than falling through to unrelated S3 errors. Includes admin documentation, release note, QA workunit, and unit tests. Signed-off-by: ramin.najarbashi <[email protected]> (cherry picked from commit 6439e70)
Add RGWBucketInfo::bucket_suspended() helper and use it in the GET/policy and admin stats paths. Log read_bucket_policy failures in rgw_build_bucket_policies. Align QA workunit credentials with the standard vstart access key pair. Signed-off-by: ramin.najarbashi <[email protected]> (cherry picked from commit 09a3e44)
Include bucket suspend/unsuspend in the CLI help golden so run-cli-tests matches the new admin commands. Signed-off-by: ramin.najarbashi <[email protected]> (cherry picked from commit b4b8d4a)
a4de9ae to
afc6243
Compare
|
jenkins test windows |
Summary
Backport of #69645 to umbrella.
Add per-bucket suspend/unsuspend via radosgw-admin; S3/Swift get 403 BucketSuspended.
Why umbrella: the same feature is useful on umbrella; operators need per-bucket suspend without suspending the owner user.
Minimal change: cherry-pick of all commits from PR #69645 with
git cherry-pick -x.No manual conflict resolution was required.
Parent tracker: https://tracker.ceph.com/issues/79540
Official backport tracker: https://tracker.ceph.com/issues/79623
Testing
Checklist
Fixes: https://tracker.ceph.com/issues/79546