← Back to team overview

openstack team mailing list archive

Re: [Swift]

 

It should be a doc bug in the instruction .

The first one is v1.0 auth (legacy auth)
The URL suppose to be http://localhost:5000/auth/v1.0


Hope it help


2013/3/15 Tomáš Šoltys <tomas.soltys@xxxxxxxxx>

> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
+Hugo Kuo+
hugo@xxxxxxxxxxxxxx
tonytkdk@xxxxxxxxx
+886 935004793

Follow ups

References