swift-account-reaper(1)

✨ swift-account-reaper(1) ✨

okay bestie, welcome to the OpenStack Swift corner of the manual, this one's swift-account-reaper and it's literally the cleanup crew πŸ’…


πŸ’– NAME πŸ’–

swift-account-reaper β€” the OpenStack Swift account reaper, no cap 🧹


🌸 SYNOPSIS 🌸

swift-account-reaper [CONFIG] [-h|--help] [-v|--verbose] [-o|--once]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically this thing removes data from status=DELETED accounts. and what are those, you ask? they're accounts that the reseller has asked to be removed, via the services remove_storage_account XMLRPC call. that's it, that's the vibe ✨

here's the tea though: the account does not get deleted immediately by the services call. instead, the account is just marked for deletion, by setting the status column in the account_stat table of the account database. that's literally all that happens at first 🫢

then our girl swift-account-reaper comes through and scans for accounts like that, and removes the data in the background. iconic behaviour, honestly. and heads up β€” the background deletion process will occur on the primary account server for the account. that's where the magic happens πŸ”₯

The options are as follows:

  • -v, --verbose β€” log to console πŸ“ (yes, she'll narrate everything to you, main character energy)
  • -o, --once β€” only run one pass of daemon πŸƒβ™€οΈ (one and done, she's not sticking around)

🌈 DOCUMENTATION 🌈

if you want the more in depth documentation, about swift-object-auditor and also about OpenStack Swift as a whole, it lives at:

https://docs.openstack.org/swift/latest/

go read it, iykw ikyk πŸ‘‘ it's giving study session.


⭐ SEE ALSO ⭐


and that's the whole page, bestie!! πŸŽ€ this one's running on Linux, dated 8/26/2011, and yeah it's from the swift-account-reaper(1) manual β€” old but still slaying. mwah πŸ’‹