Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

NoValidHost error when launching server via Compute API v2

I am trying to launch an Ubuntu server via the api. The request is accepted and the server enters the build state but after a few minutes it gets the above error. I have tried posting a request with and without network parameter but same result

without network

{"server":{"user_data":"","imageRef":"http://173.226.178.195:8774/v2/a8f965544eb347ac96590fb58f50a595/images/a09323ba-ebc7-4cce-81a4-f2ad2560ebd7","name":"dmubuntu1019","flavorRef":"http://173.226.178.195:8774/v2/a8f965544eb347ac96590fb58f50a595/flavors/1"}}

with network

{"server":{"user_data":"","imageRef":"http://173.226.178.195:8774/v2/a8f965544eb347ac96590fb58f50a595/images/a09323ba-ebc7-4cce-81a4-f2ad2560ebd7","name":"dmubuntu1019","flavorRef":"http://173.226.178.195:8774/v2/a8f965544eb347ac96590fb58f50a595/flavors/1", "networks": [{"uuid": "0596a2ca-b375-4506-8eb7-be7a537e15e8","fixed_ip": "192.168.123.55"}]}}

What am i missing from my request?

Thanks for your help

NoValidHost error when launching server via Compute API v2

I am trying to launch an Ubuntu server via the api. The request is accepted and the server enters the build state but after a few minutes it gets the above error. I have tried posting a request with and without network parameter but same result

without network

{"server":{"user_data":"","imageRef":"http://173.226.178.195:8774/v2/a8f965544eb347ac96590fb58f50a595/images/a09323ba-ebc7-4cce-81a4-f2ad2560ebd7","name":"dmubuntu1019","flavorRef":"http://173.226.178.195:8774/v2/a8f965544eb347ac96590fb58f50a595/flavors/1"}}

with network

{"server":{"user_data":"","imageRef":"http://173.226.178.195:8774/v2/a8f965544eb347ac96590fb58f50a595/images/a09323ba-ebc7-4cce-81a4-f2ad2560ebd7","name":"dmubuntu1019","flavorRef":"http://173.226.178.195:8774/v2/a8f965544eb347ac96590fb58f50a595/flavors/1", "networks": [{"uuid": "0596a2ca-b375-4506-8eb7-be7a537e15e8","fixed_ip": "192.168.123.55"}]}}

What am i missing from my request?

Thanks for your help