Skip to content

tentacle: rgw: account rm --purge-data can delete users/roles/groups/oidcs too - #68059

Merged
batrick merged 2 commits into
ceph:tentaclefrom
cbodley:wip-75605-tentacle
Jul 21, 2026
Merged

batrick merged 2 commits into
ceph:tentaclefrom
cbodley:wip-75605-tentacle

Conversation

@cbodley

@cbodley cbodley commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

@cbodley
cbodley requested a review from a team as a code owner March 27, 2026 18:41
@cbodley cbodley added this to the tentacle milestone Mar 27, 2026
@cbodley cbodley added the rgw label Mar 27, 2026
@cbodley
cbodley force-pushed the wip-75605-tentacle branch from 1f3e038 to eda056a Compare March 27, 2026 18:50
@anrao19

anrao19 commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

FYI, pr testing is in progress...
Tracker created for same is : https://tracker.ceph.com/issues/75922

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@cbodley
cbodley force-pushed the wip-75605-tentacle branch from eda056a to b9a15ec Compare April 24, 2026 15:47
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label May 2, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

cbodley added 2 commits July 9, 2026 09:03
users and all of their buckets/objects can be deleted in one shot with
`radosgw-admin user rm --purge-data`. this `--purge-data` option was
copied for `account rm`, but only applied to buckets/objects and not
other account metadata like users/roles/groups/oidc-providers. if any
of those objects still existed, `account rm` would fail with `ENOTEMPTY`
until the account owner used IAM apis like DeleteUser etc to remove them
all manually

`--purge-data` now applies to all account metadata, enabling admins to
remove them in one shot

Fixes: https://tracker.ceph.com/issues/75008

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit a002beb)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 1303415)
@cbodley
cbodley force-pushed the wip-75605-tentacle branch from b9a15ec to c5b3360 Compare July 9, 2026 13:04
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added releng-audit-fail Release engineering: failed backport verification audit. and removed needs-rebase labels Jul 9, 2026
@batrick batrick removed the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 12, 2026
@parth-gr

Copy link
Copy Markdown
Contributor

Hey @cbodley,
Can we prioritise merging this one?
As the upstream rook has started using Tentacle and we need this fix for account deletion.

@cbodley

cbodley commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Hey @cbodley, Can we prioritise merging this one? As the upstream rook has started using Tentacle and we need this fix for account deletion.

cc @adamemerson if you'd like to track this as a blocker for 20.2.3

@adamemerson

Copy link
Copy Markdown
Contributor

/audit override

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 13, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @adamemerson.

View workflow run

@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test windows

@yuriw

yuriw commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri4-testing-20260713.225517-tentacle.

@anrao19

anrao19 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

@batrick
batrick merged commit fd337c8 into ceph:tentacle Jul 21, 2026
16 of 18 checks passed
@anrao19 anrao19 removed the wip-anrao6-testing wip-anrao6-testing label Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants