<div dir="ltr">Hi Brian,<div><br></div><div>Yes, it's more like an hack job by deleting the sqlite db files for the deleted account.</div><div>I believe the account is marked as deleted in the sqlite database.</div><div>
<br></div><div>The account folder/directory for the tenant is value of md5sum AUTH_XXXSWIFT_HASH, where the xxx is the tenant-id and swift_hash</div><div>from the proxy swift.conf file</div><div><br></div><div>In the storage nodes, under /srv/node find for the directory with same name as md5sum output and delete the .db & .db.pending.</div>
<div>The swift that I was working had three replicas so I did find all the three copies and removed them. </div><div><br></div><div>Cheers,</div><div>Devendran</div><div> </div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Jun 2, 2014 at 6:15 PM, Brian Cline <span dir="ltr"><<a href="mailto:bcline@softlayer.com" target="_blank">bcline@softlayer.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Devendran,<br>
<br>
Were you able to resolve this issue?<br>
<br>
Brian<br>
<div><div class="h5"><br>
-----Original Message-----<br>
From: Devendran Jagadisan [mailto:<a href="mailto:devendran.jagadisan@gmail.com">devendran.jagadisan@gmail.com</a>]<br>
Sent: Monday, August 05, 2013 5:56 PM<br>
To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Subject: [Openstack] [SWIFT] Swift + Keystone Auth account recovery<br>
<br>
Hi,<br>
<br>
Using swift 1.8.0 with keystone auth and I suspect due to this <a href="https://bugs.launchpad.net/swift/+bug/1177526" target="_blank">https://bugs.launchpad.net/swift/+bug/1177526</a>,<br>
one of my user may have deleted their account by sending delete request using curl.<br>
<br>
The user only has the member role in their tenant.<br>
<br>
proxy-server.conf is<br>
<br>
[app:proxy-server]<br>
use = egg:swift#proxy<br>
allow_account_management = true<br>
account_autocreate = true<br>
<br>
[filter:keystone]<br>
use = egg:swift#keystoneauth<br>
operator_roles = Admin,Member,admin, swiftoperator, _member_, ResellerAdmin<br>
is_admin = true<br>
<br>
<br>
Swift CLI returns either<br>
Account HEAD failed: 403 Forbidden<br>
Account GET failed: 403 Forbidden Recently deleted<br>
<br>
Dashboard for Object store returns 'Error: Unable to retrieve container list'<br>
<br>
Proxy server logs<br>
'proxy-server Could not autocreate account 'AUTH_e08380fcb814436ab28ac2ddb45466f1' (txn: tx61c50f079b864633944b52d143a39985) (client_ip: '<br>
<br>
At this stage I am pretty sure the containers and objects are removed as the delay_reaping is set to the default value.<br>
<br>
Is there any way to re-create the account for the user, at least to allow user to access their<br>
account and create containers again?<br>
<br>
<br>
Thanks,<br>
Devendran<br>
<br>
<br>
<br>
</div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div><br></div>