Support for VM without IP address

asked 2020-05-14 06:20:54 -0500

Hello all,

I’m trying to create a VM without an assigned IP. The network and port are created fine but when I create the server I get the following error:

Port 7ccee195-bca2-40c5-859a-3e80d1b2d57f requires a FixedIP in order to be used. (HTTP 400) (Request-ID: req-2169cb32-d387-47be-a054-990e9f624ffc)

I am running the Train release on CentOS 7. Here are the commands I am using.

$ openstack network create --share --disable-port-security --external --provider-network-type vlan --provider-physical-network provider --provider-segment 211 VLAN211

$ openstack port create --network VLAN211 --no-fixed-ip --no-security-group --disable-port-security port0

$ openstack server create --image debian-10-openstack-amd64 --flavor basic --port port0 vmTest

It seems like work was done a few years ago in order to support VMs without fixed IPs[https://blueprints.launchpad.net/neutron/+spec/vm-without-l3-address (1), https://review.opendev.org/#/c/361455 (2), https://review.opendev.org/#/c/200809/ (3)]. I found some old questions having this same issue without any resolution[https://ask.openstack.org/en/question/109124/cannot-boot-vm-with-a-port-that-does-not-have-an-ip/ (1), https://ask.openstack.org/en/question/110615/l2-neutron-port/ (2)]. Rather then resurrect old threads I thought I’d ask again. Am I doing somehting wrong or is this something that is still not supported? Thanks.

Joseph

edit retag flag offensive close merge delete

Comments

A neutron port requires at least one ip.

Alex1806 gravatar imageAlex1806 ( 2020-05-15 13:50:55 -0500 )edit