openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #14904
Re: Swift account listing
> 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@xxxxxxxxxxxxxxxxxxx [mailto:openstack-bounces+donagh.mccabe=hp.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Pete Zaitcev
Sent: 18 July 2012 23:52
To: openstack-operators@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
References