← Back to team overview

openstack team mailing list archive

Re: Keystone problem Expecting auth 400

 

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


Follow ups

References