Ask Your Question

How to recreate account?

asked 2012-07-02 11:38:02 -0500

I don't understand how create account again after delete.

In swift-proxy config:

allow_account_management = true account_autocreate = true

My actions:

create account

$ curl -X PUT

201 Created

mark for delete

$ curl -X DELET


wait for running swift-account-reaper


and try create account again

$ curl -X PUT

but always get error

Recently deleted

How to force re-create account after deletion?

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2012-07-20 11:52:51 -0500


edit flag offensive delete link more

answered 2012-07-18 09:16:08 -0500

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

edit flag offensive delete link more

answered 2012-07-23 19:03:00 -0500

gholt gravatar image

I believe the system waits for a week or more before allowing an account to be recreated again. With most installations, this isn't an issue because new Swift accounts are usually created with "account hashes" that reflect back to a "real" account in another system, like Keystone.

There are ways to re-enable an account after deletion through direct manipulation (resetting flags in the underlying sqlite databases), but no tools for that yet. Again, it just hasn't been an issue with actual installations so nobody's spent the time making it happen, yet.

edit flag offensive delete link more

answered 2012-07-24 07:57:01 -0500

Thanks gholt, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-07-02 11:38:02 -0500

Seen: 70 times

Last updated: Jul 24 '12