[Openstack] getting container and object list

Rajesh Mallah mallah.rajesh at gmail.com
Fri Apr 15 15:43:49 UTC 2016


Hi ,

I was able to solve my problem using

swift-get-nodes  /etc/swift/object.ring.gz  AUTH_XXXXXXXXXXXX
Container_Name Object_Name
the AUTH_XXXXXXXXXXXX  token was got from accounts sqlite .db file


I however did not attempt to  list containers or objects as it was possible
to determine
them from other database.

regds
mallah.




On Wed, Apr 13, 2016 at 9:11 PM, Rajesh Mallah <mallah.rajesh at gmail.com>
wrote:

>
> Hi , i have a broken swift cluster that has everything as the original
> cluster EXCEPT the xattrs on the object and other files as a result the new
> cluster does not comes up.
>
>
> It was an adhoc cluster and hence the setup was not proper.
>
> Is it possible to recover ?
>
> If somehow we could get container list and the object list it would help ,
>
> i have all the /etc/swift/*.gz files and the swift hash .
>
>  Any help is greatly appreciated.
>
> regds
> Mallah.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160415/939c9470/attachment.html>


More information about the Openstack mailing list