[Openstack-operators] swift - 401 unauthorized error

shashidhar v shashidhar.velagandula at gmail.com
Thu Feb 10 14:23:06 UTC 2011


HI ,

I am trying to deploy  and test the swift as mentioned in the SAIO docs,

shashi at test2:~$
shashi at test2:~$ recreateaccounts
Auth subsystem prep failed: 401 Unauthorized
Account creation failed: 401 Unauthorized
User creation failed: 401 Unauthorized
Account creation failed: 401 Unauthorized
User creation failed: 401 Unauthorized
Account creation failed: 401 Unauthorized
User creation failed: 401 Unauthorized
Account creation failed: 401 Unauthorized
User creation failed: 401 Unauthorized
shashi at test2:~$


shashi at test2:~$ curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass:
testing' 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
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> GET /auth/v1.0 HTTP/1.1
> User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k
zlib/1.2.3.3 libidn/1.15
> Host: 127.0.0.1:8080
> Accept: */*
> X-Storage-User: test:tester
> X-Storage-Pass: testing
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 358
< Content-Type: text/html; charset=UTF-8
< Date: Thu, 10 Feb 2011 14:14:34 GMT
<
<html>
 <head>
  <title>401 Unauthorized</title>
 </head>
 <body>
  <h1>401 Unauthorized</h1>
  This server could not verify that you are authorized to access the
document you requested. Either you supplied the wrong credentials (e.g., bad
password), or your browser does not understand how to supply the credentials
required.<br /><br />



 </body>
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0
</html>shashi at test2:~$
shashi at test2:~$ curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass:
testing' http://127.0.0.1:11000/v1.0
* About to connect() to 127.0.0.1 port 11000 (#0)
*   Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 11000 (#0)
> GET /v1.0 HTTP/1.1
> User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k
zlib/1.2.3.3 libidn/1.15
> Host: 127.0.0.1:11000
> Accept: */*
> X-Storage-User: test:tester
> X-Storage-Pass: testing
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 358
< Content-Type: text/html; charset=UTF-8
< Date: Thu, 10 Feb 2011 14:14:46 GMT
<
<html>
 <head>
  <title>401 Unauthorized</title>
 </head>
 <body>
  <h1>401 Unauthorized</h1>
  This server could not verify that you are authorized to access the
document you requested. Either you supplied the wrong credentials (e.g., bad
password), or your browser does not understand how to supply the credentials
required.<br /><br />



 </body>
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0
</html>

Can someone help me to resolve this error


Thanks & Regards,
shashi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110210/03f57064/attachment-0002.html>


More information about the Openstack-operators mailing list