Re: [Openstack] Swift account listing

2012-08-02 Thread Gregory Holt
On Aug 2, 2012, at 2:45 PM, Pete Zaitcev wrote: > The point is to use Swift itself _and_ Keystone, in order to find > discrepancies or "orphan" accounts. I ended using listdir for now, > since our installation is very small, so directories fit in memory. > [...] > I have a feeling though that

Re: [Openstack] Swift account listing

2012-08-02 Thread Pete Zaitcev
On Thu, 19 Jul 2012 16:10:06 +0100 "Juan J. Martinez" wrote: > I guess you can use the list of current accounts from Keystone and > translate that into the account ring hash. > swift-get-nodes /etc/swift/account.ring.gz myKeyStoneAcct | grep Hash | > cut -f2 5819de5a52d5813f5ce95c9121b97652 > >

Re: [Openstack] Swift account listing

2012-07-19 Thread McCabe, Donagh
lists.launchpad.net] On Behalf Of Pete Zaitcev Sent: 18 July 2012 23:52 To: openstack-operat...@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

Re: [Openstack] Swift account listing

2012-07-19 Thread Juan J. Martinez
On 18/07/12 23:52, Pete Zaitcev wrote: > Guys, a simple question hopefuly: Not that simple :( > How do I list all Swift accounts? Disclaimer: I don't know if I'm missing an easy way of doing this! I guess you can use the list of current accounts from Keystone and translate that into the account

[Openstack] Swift account listing

2012-07-18 Thread Pete Zaitcev
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 accoun