how launch an instance with a specific ip with a provider network ?

asked 2019-01-19 02:51:29 -0500

najeh gravatar image

updated 2019-01-19 04:32:36 -0500

I would like to launch an instance with a specific ip_address in a provider network with two compute nodes and one controller. Is it possible? If yes how can i realize that ?

i used python sdk to launch the instance :

     testing_instance = conn.compute.create_server(name=instance_name, 
                                          networks = [{"uuid":, "fixed_ip": ""} ])

But i recieved these errors:

File "/root/application/", line 262, in <module> create_server()

File "/root/application/", line 254, in create_server testing_instance = conn.compute.wait_for_server(testing_instance)

File "/usr/lib/python2.7/dist-packages/openstack/compute/v2/", line 698, in wait_for_server self, server, status, failures, interval, wait)

File "/usr/lib/python2.7/dist-packages/openstack/", line 1141, in wait_for_status name=name, status=new_status))

openstack.exceptions.ResourceFailure: Server:bde51755-46e2-48e3-a962-080c69a851e6 transitioned to failure state ERROR

where is the problem please? and how can i solve it ?

edit retag flag offensive close merge delete



The instance was created, but is in ERROR state. There should be a high-level problem description in the instance details, and you should have more details in the Nova log files.

Bernd Bausch gravatar imageBernd Bausch ( 2019-01-19 06:36:39 -0500 )edit