On Fri, Mar 15, 2013 at 8:02 AM, Tomáš Šoltys <tomas.sol...@gmail.com> wrote:
> 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?

The first one is auth v1 style auth the second one is v2 it seems that
there is a bug in the manual (feel free to raise a bug in
openstack-manuals launchpad project).

To verify an installation with a keystone install (i.e: v2) the swift
-V2.0 command is enough above the curl command is enough.

Chmouel.

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to