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 <[email protected]> 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@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@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     : [email protected] Unsubscribe : 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack 
>
>
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to