[Openstack] The difference between the command swauth

张俊峰 zjfhappy at 126.com
Thu Dec 8 09:47:52 UTC 2011

when you run this command " # swauth-add-user -K swauthkey -a system root rootpass", the storage_url is overwrite,

you can add a head x-account-suffix="your old x-account-suffix " in request, ,

look here, this document is from swauth.py
def handle_put_account(self, req):
Handles the PUT v2/ call for adding an account to the auth
system. Can only be called by a .reseller_admin.

By default, a newly created UUID4 will be used with the reseller prefix
as the account id used when creating corresponding service accounts.
However, you can provide an X-Account-Suffix header to replace the
UUID4 part.

:param req: The webob.Request to process.
:returns: webob.Response, 2xx on success.

在 2011-08-12 11:46:15,"홍성희" <sheehong at net-id.co.kr> 写道:


I wonder the difference of “swauth-add-account” command and “swauth-add-user” command.

I have learned. On account of a single storage url is created.


Part of my question:

è  After the creation account with the “swauth-add-account” command When you create user with the “swauth-add-user”command a url is different.

1.     # swauth-add-account -K swauthkey system

2.     # swauth-add-user -K swauthkey -a system root rootpass


Why the difference? How do I use each command?



Hong-sung hee.


Dept. of Computer Development
NetID Co., Ltd. 

280 Garden5 Life Living,

Munjeong-dong, Songpa-gu,

Seoul City, South Korea

Sung-Hee Hong / Software Developer


M : sheehong at net-id.co.kr
H : +82-10-8545-1257

T : +82-70-7525-6105

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111208/efa0f5f9/attachment.html>

More information about the Openstack mailing list