Ask Your Question

Fixed IP address N.N.N.N is already in use on instance

asked 2017-04-27 17:44:10 -0500

tiger gravatar image

OK, so I am still trying to instantiate a vendor-supplied QCOW2 to be able to have eth0 and eth1. So the latest thing I tried is to first allocate ports in the two networks I already have ( and

With .20 allocated in each, I then try to 'nova boot' from the CLI.

nova boot --image 7e21eb25-b802-4c85-9d67-2de179b7f2c4 --security-groups default --flavor 3 --config-drive true --nic net-id=93d14ef9-b384-4e49-b42d-b4711b813e39,v4-fixed-ip="" --nic net-id=9eb3ebfa-0738-4875-ac91-30301dda53f7,v4-fixed-ip="" --key-name admin NewHomestead
/usr/lib/python2.7/site-packages/novaclient/ UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored.
ERROR (BadRequest): Fixed IP address is already in use on instance . (HTTP 400) (Request-ID: req-20183822-47e6-4970-b741-d22a2e61bd4f)

Nice. So it thinks that those IP's are in use, yet I didn't assign them any owner. I'm at my wit's end with this. I just want to instantiate an image and be able to have two Ethernet interfaces once it comes up, even if I have to create an eth1.conf and run 'ifup eth1'.

So this latest strategy didn't appear to work. I guess my question is, what can one do with GUI-created IP addresses (ports)?

edit retag flag offensive close merge delete


You could list all ports. As admin: openstack port list and find the port with Next question, is this port owned by an instance, router etc.

openstack port show: device_owner tells you the type of owner, e.g. compute means instance; device_id is the UUID of the owner.

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-27 23:55:24 -0500 )edit

If the port is owned by nothing, remove it. Perhaps it's a remnant of an earlier experiment of yours. If it is owned, then I believe you need to remove the owner first.

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-27 23:56:20 -0500 )edit

If you run Kilo, the openstack commands are unlikely to work. Instead, use neutron port-list and neutron port-show, respectively.

Bernd Bausch gravatar imageBernd Bausch ( 2017-04-27 23:58:39 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-04-27 20:45:41 -0500

luowei gravatar image

updated 2017-04-27 20:50:35 -0500

In your nova boot, try --nic port-id=<id> instead of --nic net-id=93d14ef9-b384-4e49-b42d-b4711b813e39,v4-fixed-ip=""

You can get the port id from the dashboard or cli "neutron port-list" (or "openstack port list")

edit flag offensive delete link more


neutron port-list then neutron port-delete by port id number.

mkhan gravatar imagemkhan ( 2017-04-28 16:26:31 -0500 )edit

Thank you all. I will give this a try!

tiger gravatar imagetiger ( 2017-04-28 19:49:01 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-04-27 17:44:10 -0500

Seen: 487 times

Last updated: Apr 27 '17