← Back to team overview

openstack team mailing list archive

Re: Keystone problem Expecting auth 400

 

Hi-

Hishaharu - yes, we are working on the documentation during this milestone.
Razique - thank you for helping out :-)

Ziad

On 10/20/11 4:38 PM, "Hisaharu Ishii"
<ishii.hisaharu@xxxxxxxxxxxxxxxxxxxx> wrote:

>Hi folks,
>
>> The auth. scheme has changed recently. Here is a working set with the
>>last
>> version :
>
>However these documents have not updated yet.
>Is anyone working it?
>
>http://docs.openstack.org/diablo/openstack-identity/admin/content/curl-exa
>mples.html
>https://github.com/openstack/keystone/blob/master/doc/source/adminAPI_curl
>_examples.rst
>
>Regards,
>Hisaharu Ishii
>
>
>2011/10/19 Razique Mahroua <razique.mahroua@xxxxxxxxx>:
>> Hi Roman,
>> which version of Keystone are you using ?
>> The auth. scheme has changed recently. Here is a working set with the
>>last
>> version :
>> {"auth":
>>     {"tenantName": "service_usage", "passwordCredentials":
>>         {"username": "service_usage", "password": "P@ssword"}
>>     }
>> }
>> As you see the passwordCrendentials is embeded into an auth section
>> Regards,
>> Razique
>> Le 19 oct. 2011 à 10:10, Roman Sokolkov a écrit :
>>
>> Hi!
>> I ve installed keystone
>> but when I try to
>> curl -d '{"passwordCredentials":{"username": "admin", "password":
>> "P@ssword"}}' -H "Content-type: application/json"
>> http://localhost:35357/v2.0/tokens
>> I ve received
>> {"badRequest": {"message": "Expecting auth", "code": "400"}}
>> --
>> Regards, Roman Sokolkov
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>_______________________________________________
>Mailing list: https://launchpad.net/~openstack
>Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>Unsubscribe : https://launchpad.net/~openstack
>More help   : https://help.launchpad.net/ListHelp

This email may include confidential information. If you received it in error, please delete it.



Follow ups

References