problem in Authencation
This bug report was converted into a question: question #233704: problem in Authencation.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am using a tutoriel :http://
I'm currently trying to create a swift environment for some test, but got the following error when getting an X-Storage-Url and X-Auth-Token using test command.
root@swift:~# curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://
* 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 (x86_64-
> Host: 127.0.0.1:8080
> Accept: */*
> X-Storage-User: test:tester
> X-Storage-Pass: testing
>
< HTTP/1.1 200 OK
< X-Storage-Url: http://
< X-Auth-Token: AUTH_tkca30d37f
< Content-Type: text/html; charset=UTF-8
< X-Storage-Token: AUTH_tkca30d37f
< Content-Length: 0
< Date: Mon, 05 Aug 2013 07:07:35 GMT
<
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0
root@swift:~# curl -v -H 'X-Auth-Token: AUTH_tkca30d37f
* About to connect() to 127.0.0.1 port 8080 (#0)
* Trying 127.0.0.1... connected
> GET /v1/AUTH_test HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-
> Host: 127.0.0.1:8080
> Accept: */*
> X-Auth-Token: AUTH_tkca30d37f
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 131
< Content-Type: text/html; charset=UTF-8
< Date: Mon, 05 Aug 2013 07:08:51 GMT
<
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0
<html><
I am new for openstack, Ples help me..
Could you give your config file and log file here, you could use paste.openstack.org for pasting any text