This issue is fixed:
curl -i -H "X-Auth-Token: ${NOVA_TOKEN}" -H "content-type: application/json" -X POST -d '{"server":{"name":"adsf","imageRef":"3","flavorRef":"a"}}' http://localhost:8774/v1.1/servers
HTTP/1.1 400 Bad Request Content-Length: 71 Content-Type: application/json; charset=UTF-8 Date: Tue, 26 Jul 2011 03:30:08 GMT
{"badRequest": {"message": "Invalid flavorRef provided.", "code": 400}}
This issue is fixed:
curl -i -H "X-Auth-Token: ${NOVA_TOKEN}" -H "content-type: application/json" -X POST -d '{"server" :{"name" :"adsf" ,"imageRef" :"3","flavorRef ":"a"}} ' http:// localhost: 8774/v1. 1/servers
HTTP/1.1 400 Bad Request
Content-Length: 71
Content-Type: application/json; charset=UTF-8
Date: Tue, 26 Jul 2011 03:30:08 GMT
{"badRequest": {"message": "Invalid flavorRef provided.", "code": 400}}