Project

General

Profile

Actions

Feature #75008

closed
CB CB

account rm: allow --purge-data to delete account resources other than buckets

Feature #75008: account rm: allow --purge-data to delete account resources other than buckets

Added by Casey Bodley 10 months ago. Updated about 1 month ago.

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

0%

Source:
Backport:
squid tentacle
Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-6223-g957f891fc8
Released In:
v21.2.0~996
Upkeep Timestamp:
2026-10-24T01:49:21+00:00

Description

by default, radosgw-admin account rm and user rm will fail if the owner still has buckets/objects. adding the --purge-data option will delete those first

however, account rm --purge-data only deletes buckets/objects and not other account resources like users, roles, groups, and oidc-providers. if the account still contains any of those, the command still fails with an error. teach --purge-data to delete these too - potentially requiring an additional --yes-i-really-mean-it option


Related issues 3 (0 open — 3 closed)

Related to rgw - Bug #80029: account rm --purge-data fails to remove account oidc providersResolvedCasey Bodley

Actions
Copied to rgw - Backport #75605: tentacle: account rm: allow --purge-data to delete account resources other than bucketsResolvedCasey Bodley

Actions
Copied to rgw - Backport #75606: squid: account rm: allow --purge-data to delete account resources other than bucketsResolvedCasey Bodley

Actions

CB Updated by Casey Bodley 10 months ago Actions #1

  • Status changed from New to Fix Under Review
  • Assignee set to Casey Bodley
  • Backport set to squid tentacle
  • Pull request ID set to 67405

CB Updated by Casey Bodley 9 months ago Actions #2

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot 9 months ago Actions #3

  • Merge Commit set to 957f891fc8eb1bf90936befba6e0b5fb21112f70
  • Fixed In set to v20.3.0-6223-g957f891fc8
  • Upkeep Timestamp set to 2026-03-18T20:07:15+00:00

UB Updated by Upkeep Bot 9 months ago Actions #4

  • Copied to Backport #75605: tentacle: account rm: allow --purge-data to delete account resources other than buckets added

UB Updated by Upkeep Bot 9 months ago Actions #5

  • Copied to Backport #75606: squid: account rm: allow --purge-data to delete account resources other than buckets added

UB Updated by Upkeep Bot 9 months ago Actions #6

  • Tags (freeform) set to backport_processed

CB Updated by Casey Bodley 3 months ago Actions #7

  • Related to Bug #80029: account rm --purge-data fails to remove account oidc providers added

UB Updated by Upkeep Bot 3 months ago Actions #8

  • Status changed from Pending Backport to Resolved
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-03-18T20:07:15+00:00 to 2026-08-27T18:28:28+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #9

  • Released In set to v21.2.0~996
  • Upkeep Timestamp changed from 2026-08-27T18:28:28+00:00 to 2026-10-24T01:49:21+00:00
Actions

Also available in: PDF Atom