How to recreate account?

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

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 -0600


edit flag offensive delete link more

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

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 -0600

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 -0600

Thanks gholt, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 85 times

Last updated: Jul 24 '12