DOKK / manpages / debian 11 / swift-account / swift-account-audit.1.en
SWIFT-ACCOUNT-AUDIT(1) General Commands Manual SWIFT-ACCOUNT-AUDIT(1)

swift-account-audit - manually audit OpenStack Swift accounts

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

The swift-account-audit cli tool can be used to audit the data for an account. It crawls the account, checking that all containers and objects can be found.

You can also feed a list of URLs to the script through stdin.

Set the concurrency, default 50
Ring locations, default /etc/swift
File for writing a list of inconsistent URLs
Also download files and verify md5

/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

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

August 2016 OpenStack Swift