SWIFT-ACCOUNT-AUDIT(1)

πŸ’… SWIFT-ACCOUNT-AUDIT πŸ’…

okay so bestie, welcome to swift-account-audit, section 1 of the General Commands Manual β€” it's the OpenStack Swift account auditing girlie and she is thriving. Let's get into it πŸ¦‹


✨ NAME ✨

swift-account-audit β€” manually audit OpenStack Swift accounts. yes really. you, personally, with your own two hands, checking on an account. she's giving main character energy and honestly? obsessed πŸ’–


🌸 SYNOPSIS 🌸

swift-account-audit [options] [url 1] [url 2] ...

πŸŽ€ DESCRIPTION πŸŽ€

The swift-account-audit cli tool is here to audit the data for an account, periodt. It crawls the account and checks that all containers and objects can actually be found. like, are they there? are they okay? vibe check πŸ’…

You can also feed a list of URLs to the script through stdin. yup, pipe it right in, she'll take it 🫢


✨ OPTIONS ✨

  • -c concurrency β€” set the concurrency. default is 50. go faster, go slower, you decide bestie πŸ”₯
  • -r ring dir β€” ring locations. default is /etc/swift. that's where the rings live, iykyk πŸ’
  • -e filename β€” file for writing a list of inconsistent URLs. so when something's off, you get the receipts πŸ“
  • -d β€” also download files and verify md5. she's not just looking, she's checking πŸ”βœ¨

πŸ¦‹ EXAMPLES πŸ¦‹

/usr/bin/swift-account-audit AUTH_88ad0b83-b2c5-4fa1-b2d6-60c597202076
/usr/bin/swift-account-audit AUTH_88ad0b83-b2c5-4fa1-b2d6-60c597202076/container/object
/usr/bin/swift-account-audit -e errors.txt AUTH_88ad0b83-b2c5-4fa1-b2d6-60c597202076/container
/usr/bin/swift-account-audit < errors.txt
/usr/bin/swift-account-audit -c 25 -d < errors.txt

look at her go 😭 whole account, one container, one object, errors going in, errors coming out, and the last one is doing it with concurrency 25 and downloading plus md5 verification. iconique 🌈


πŸ’œ DOCUMENTATION πŸ’œ

More in depth documentation in regards to swift-account-audit and also about OpenStack Swift as a whole can be found at https://docs.openstack.org/swift/latest/ and https://docs.openstack.org. go read, bestie, it's giving educational πŸ“šβœ¨


and that's the whole page πŸŽ€ this was brought to you by OpenStack Swift, dated August 2016, living in the General Commands Manual like the queen she is πŸ‘‘ no cap, love that for her. bye bestie πŸ’–πŸ¦‹πŸŒΈ