[Openstack] Swift account listing

McCabe, Donagh Donagh.McCabe at hp.com
Thu Jul 19 17:43:30 UTC 2012


> I'm thinking "ls /srv/node/partitions/accounts/" on all storage nodes...
That's pretty much what slogging does...plus other stuff.

-----Original Message-----
From: openstack-bounces+donagh.mccabe=hp.com at lists.launchpad.net [mailto:openstack-bounces+donagh.mccabe=hp.com at lists.launchpad.net] On Behalf Of Pete Zaitcev
Sent: 18 July 2012 23:52
To: openstack-operators at lists.openstack.org
Cc: openstack
Subject: [Openstack] Swift account listing

Guys, a simple question hopefuly:

How do I list all Swift accounts?

Specifically, I have a test installation that I used to experiemnt with various upgrades and migrations. I probably lost a few testing accounts in it. Now it sits there and uses up space. How do I find and eliminate orphan accounts?

Once I have a list of accounts, I can match them up with the output of "keystone user-list", and I can run swift-account-audit on them.

I'm thinking "ls /srv/node/partitions/accounts/" on all storage nodes and then building a union set. Seems kind of too ad-hoc though.

Greetings,
-- Pete

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




More information about the Openstack mailing list