Ask Your Question

Cannot boot VM with a port that does not have an IP

asked 2017-07-26 13:27:57 -0500

dkt26111 gravatar image

As per this spec ( I should be able to create a port without an IP and boot a VM with it. I was able to create the port without an IP but when I try to boot a VM using that port in OpenStack Ocata, I get an error saying: Port xxxx requires a FixedIP in order to be used

My question is whether anybody has successfully booted a VM with a port that does not have an IP address assigned. If so, what are the steps to follow?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-07-26 23:30:02 -0500

Rajesh Ramachandran gravatar image

I see an abandoned change --

I doubt if it's possible to boot VM with a port without IP even though you are able to create neutron port.

In my liberty environment, I see the below exception :

class PortRequiresFixedIP(Invalid):
    msg_fmt = _("Port %(port_id)s requires a FixedIP in order to be used.")

May be you can create a subnet, diable DHCP and boot VM's ? , if that is your setup requirement.

edit flag offensive delete link more


I did that but I still get the same error message regarding the FixedIP being required. There have been some changes merged since liberty regarding routed networks ( Those changes introduced ip_allocation field in port.

dkt26111 gravatar imagedkt26111 ( 2017-07-27 11:31:08 -0500 )edit

In my devstack environment I was able to create a port with fixed_ips=[] after enabling segments as a service_plugin. Then I was able to boot the VM getting past the FixedIP error. But then it fails with "NovaException: Unsupported VIF type unbound convert '_nova_to_osvif_vif_unbound'"

dkt26111 gravatar imagedkt26111 ( 2017-07-27 11:35:43 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2017-07-26 13:27:57 -0500

Seen: 556 times

Last updated: Jul 26 '17