← Back to team overview

openstack team mailing list archive

curl command

 

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@xxxxxxxxx
Munceste ca si cum n-ai muri niciodata, dar ingrijeste-te de sufletul tau ca si cum ai muri maine!

Follow ups