← Back to team overview

openstack team mailing list archive

[Swift]

 

Hi,

I am following the OpenStack WalkThrough instructions and I am failing to
verify my setup as described here:
http://docs.openstack.org/folsom/openstack-compute/install/yum/content/verify-swift-installation.html

In this forum I have found that the instructions are not exactly correct so
I tried what was suggested but without any success.

Following command always return '404 Not Found'

curl -k -v -H 'X-Storage-User: service:swift' -H 'X-Storage-Pass: 12345678'
-X 'POST' http://localhost:5000/v2.0/auth

But when for following it works:

curl -k -v -X 'POST' http://localhost:5000/v2.0/tokens -d
'{"auth":{"passwordCredentials":{"username":"swift",
"password":"12345678"}, "tenantName":"service"}}' -H 'Content-type:
application/json' -H 'Accept: application/xml'

What am I missing here?

Thanks

Tomáš Šoltys

tomas.soltys@xxxxxxxxx
http://www.range-software.com
(+420) 776-843-663

Follow ups