Re: [Openstack] curl command

2012-04-19 Thread Dean Troyer
On Fri, Apr 20, 2012 at 12:11 AM, andrei cosmin wrote: > 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

Re: [Openstack] curl command

2012-04-19 Thread Joshua Harlow
I've made a devstackPY tool that helps with this: https://github.com/yahoo/Openstack-DevstackPy/blob/master/tools/upload-img.py It will figure out how to extract the image archive (if any), upload it to glance... On 4/19/12 10:11 PM, "andrei cosmin" wrote: Hi! A have made a devstack instalat

[Openstack] curl command

2012-04-19 Thread andrei cosmin
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-ty