> 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: [email protected] 
[mailto:[email protected]] On Behalf 
Of Pete Zaitcev
Sent: 18 July 2012 23:52
To: [email protected]
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     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to