[Openstack] [Swift]

Gareth academicgareth at gmail.com
Fri Mar 15 16:45:03 UTC 2013


Kuo's answering is the point. But v1.0 is not the answer because keystone
use v2.0 now.
Look at your docuement, http://<AUTH_HOSTNAME>:5000/auth/v2.0 and
http://<AUTH_HOSTNAME>:5000/v2.0
have been used.

The second works for me. Try these two yourself.


On Fri, Mar 15, 2013 at 11:55 PM, Kuo Hugo <tonytkdk at gmail.com> wrote:

> 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 at gmail.com>
>
>> 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 at gmail.com
>> http://www.range-software.com
>> (+420) 776-843-663
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> +Hugo Kuo+
> hugo at swiftstack.com
> tonytkdk at gmail.com
> +886 935004793
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Gareth
*Cloud Computing, Openstack, Fitness, Basketball
*
*Novice Openstack contributer*
*My promise: if you find any spelling or grammar mistake in my email from
Mar 1 2013, notice me *
*and I'll donate 1$ or 1¥ to open organization specified by you.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130316/b6c249b6/attachment.html>


More information about the Openstack mailing list