[Openstack] Keystone problem Expecting auth 400

Razique Mahroua razique.mahroua at gmail.com
Wed Oct 19 08:15:14 UTC 2011


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 at 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 at 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 at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111019/3d751bb5/attachment.html>


More information about the Openstack mailing list