[Openstack] problem in creating new account

pragya jain prag_2648 at yahoo.co.in
Tue Feb 11 03:48:20 UTC 2014


thanks for reply Jonathan Lu 

I use curl command to create a new account
then i check proxy-server.conf file
But it has no announcement for the new account.
------------
curl -i -H 'X-Auth-Token: AUTH_tkdf211ecfa8924764b1348256885bbaf4' -X PUT http://127.0.0.1:8080/v1/AUTH_arunjain

HTTP/1.1 201 Created
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: txf807061b920d44d2a8756-0052f87815
Date: Mon, 10 Feb 2014 06:56:21 GMT
------------

Pragya Jain



On Monday, 10 February 2014 3:14 PM, Jonathan Lu <jojokururu at gmail.com> wrote:
 
Hi,
>    In TempAuth, the account should be announced in the
      proxy-server.conf file.
>    Maybe you can check your config file whether the new account
      is announced.
>
>Regards,
>Jonathan Lu
>
>On 2014/2/10 15:33, pragya jain wrote:
>
>hi all,
>>
>>
>>I am analysing swift functionalities.
>>I authenticate in swift cluster as a superuser 'prag2648', get storage-url and auth-token
>>Then, i create a new account in swift, But I can not access the new account.
>>
>>
>>Below is the steps which I follow:
>>------------
>>
>>root at swift-VirtualBox:~# curl -v -H 'X-Storage-User: prag2648:pragya' -H 'X-Storage-Pass: pj2648' http://127.0.0.1:8080/auth/v1.0
>>* About to connect() to 127.0.0.1 port 8080 (#0)
>>*   Trying 127.0.0.1... connected
>>> GET /auth/v1.0 HTTP/1.1
>>> User-Agent: curl/7.22.0 (i686-pc-linux-gnu)
          libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23
          librtmp/2.3
>>> Host: 127.0.0.1:8080
>>> Accept: */*
>>> X-Storage-User: prag2648:pragya
>>> X-Storage-Pass: pj2648
>>> 
>>< HTTP/1.1 200 OK
>>< X-Storage-Url: http://127.0.0.1:8080/v1/AUTH_prag2648
>>< X-Auth-Token: AUTH_tkdf211ecfa8924764b1348256885bbaf4
>>< Content-Type: text/html; charset=UTF-8
>>< X-Storage-Token: AUTH_tkdf211ecfa8924764b1348256885bbaf4
>>< Content-Length: 0
>>< X-Trans-Id: tx56a6487da88240e0abd13-0052f8773b
>>< Date: Mon, 10 Feb 2014 06:52:43 GMT
>>< 
>>* Connection #0 to host 127.0.0.1 left intact
>>* Closing connection #0
>>root at swift-VirtualBox:~# curl -i -H 'X-Auth-Token:
          AUTH_tkdf211ecfa8924764b1348256885bbaf4' -X PUT http://127.0.0.1:8080/v1/AUTH_arunjain
>>HTTP/1.1 201 Created
>>Content-Length: 0
>>Content-Type: text/html; charset=UTF-8
>>X-Trans-Id: txf807061b920d44d2a8756-0052f87815
>>Date: Mon, 10 Feb 2014 06:56:21 GMT
>>-----------
>>
>>
>>Please help in this regard.
>>
>>
>>Pragya jain
>>
>>
>>
>>_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to     : openstack at lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack 
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140211/08c4c0f1/attachment.html>


More information about the Openstack mailing list