Public bug reported: Using latest neutron [1] and python-neutronclient [2], we are now able to create VMs without IP addresses.
If I run : $ openstack network create net1 $ openstack port create --network net1 port_net1 I get the IP_allocation field equal to "none" for the created port. So the following command should result in a VM without IP Addresses : $ openstack server create --flavor 1 --image 78ee2490-3b59-4c1f- bc29-cdb878ccfc26 --port port_net1 Instead I have the following error : Port c1013516-8e00-4f99-817d-07edbb386142 requires a FixedIP in order to be used. (HTTP 400) It seems that nova only accepts VMs with deferred ip_allocation [3][4], not "none". Accepting "none" as a valid option for the ip_allocation attribute would implement [5], as [4] was expected to, regarding Matt Riedemann last comment on [5]. [1] https://review.openstack.org/#/c/361455/ [2] https://review.openstack.org/#/c/504817/ [3] http://git.openstack.org/cgit/openstack/nova/tree/nova/network/neutronv2/api.py#n1663 [4] https://review.openstack.org/#/c/299591/ [5] https://review.openstack.org/#/c/239276/ ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1741575 Title: creating a VM without IP (ip_allocation=None) Status in OpenStack Compute (nova): New Bug description: Using latest neutron [1] and python-neutronclient [2], we are now able to create VMs without IP addresses. If I run : $ openstack network create net1 $ openstack port create --network net1 port_net1 I get the IP_allocation field equal to "none" for the created port. So the following command should result in a VM without IP Addresses : $ openstack server create --flavor 1 --image 78ee2490-3b59-4c1f- bc29-cdb878ccfc26 --port port_net1 Instead I have the following error : Port c1013516-8e00-4f99-817d-07edbb386142 requires a FixedIP in order to be used. (HTTP 400) It seems that nova only accepts VMs with deferred ip_allocation [3][4], not "none". Accepting "none" as a valid option for the ip_allocation attribute would implement [5], as [4] was expected to, regarding Matt Riedemann last comment on [5]. [1] https://review.openstack.org/#/c/361455/ [2] https://review.openstack.org/#/c/504817/ [3] http://git.openstack.org/cgit/openstack/nova/tree/nova/network/neutronv2/api.py#n1663 [4] https://review.openstack.org/#/c/299591/ [5] https://review.openstack.org/#/c/239276/ To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1741575/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

