Cool ! Le 20 oct. 2011 à 12:10, Roman Sokolkov a écrit :
> I ve solved. in last commit of python-novaclient > http://bazaar.launchpad.net/~jk0/python-novaclient/master/revision/124 > i saw that when service "compute" it will use publicURL > > service_type='compute', endpoint_type='publicURL'): > > In my base I have default public urls, before it works well. I change it to > actual values and all work good. > > Thanks. > > 2011/10/20 Razique Mahroua <[email protected]> > Hi > in order to work with curl : > curl -v -H "X-Auth-User: user" -H "X-Auth-key: KEY" > http://IP:PORT/API_VERSION/ > > -v : verbose > -H : headers > http : ip to request. > > I myself use that awesome tool to debug and work on my environments : > http://code.google.com/p/rest-client/ > > Razique > > Le 20 oct. 2011 à 04:50, DeadSun a écrit : > >> Then how to use curl to test? >> >> >> On Wed, Oct 19, 2011 at 4:15 PM, Razique Mahroua <[email protected]> >> wrote: >> 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 : [email protected] >>> Unsubscribe : https://launchpad.net/~openstack >>> More help : https://help.launchpad.net/ListHelp >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~openstack >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~openstack >> More help : https://help.launchpad.net/ListHelp >> >> >> >> >> -- >> 非淡薄无以明志,非宁静无以致远 > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : [email protected] > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > > > > > -- > Regards, Roman Sokolkov
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : [email protected] Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp

