Can't get an X-Storage-Url and X-Auth-Token
Hi,
Im testing a Swift environment and everything works perfectly except the "curl" command to get an X-Storage-Url and X-Auth-Token. I am using keystone in another host to authenticate. This is what i get :
[root@SWIFT-MACHINE ~]# curl -k -v -H 'X-Storage-User: admin:admin' -H 'X-Storage-Pass: cloud' http://
* About to connect() to 192.168.224.248 port 5000 (#0)
* Trying 192.168.224.248... connected
* Connected to 192.168.224.248 (192.168.224.248) port 5000 (#0)
> GET /v2.0 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-
> Host: 192.168.
> Accept: */*
> X-Storage-User: admin:admin
> X-Storage-Pass: cloud
>
< HTTP/1.1 200 OK
< Vary: X-Auth-Token
< Content-Type: application/json
< Content-Length: 616
< Date: Tue, 02 Apr 2013 10:34:03 GMT
<
* Connection #0 to host 192.168.224.248 left intact
* Closing connection #0
{"version": {"status": "beta", "updated": "2011-11-
When using the "swift" commad to get stats on my accounts, objects and containers as well as to upload or dowload object, everything works smoothly.
Thanks in advance for your help.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask NAJMI Nizar for more information if necessary.