[Openstack] curl command

andrei cosmin andrei_tall at yahoo.com
Fri Apr 20 05:11:47 UTC 2012


Hi!

A have made a devstack instalation of openstack, and now i am trying to deploy new images but curl command doesn't work.

when i give ths command : 

curl -d '{"auth": {"tenantName": "openstackDemo", "passwordCredentials":{"username": "adminUser", "password": "secretword"}}}' -H "Content-type: application/json" http://192.168.206.130:35357/v2.0/tokens | python -mjson.tool
 i get the following error:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) couldn't connect to host
No JSON object could be decoded

i used my ip and the rest i leaved as it is. Where do i find my tenantName and password credentials? What can be the problem?
Thanks.


Andrei-Cosmin Ion
telefon: 0727 768 281
email: andrei_tall at yahoo.com
Munceste ca si cum n-ai muri niciodata, dar ingrijeste-te de sufletul tau ca si cum ai muri maine!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120419/f385107a/attachment.html>


More information about the Openstack mailing list