← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1741575] Re: creating a VM without IP (ip_allocation='none')

 

** Changed in: nova
     Assignee: do3meli (d-info-e) => (unassigned)

** Changed in: nova
       Status: In Progress => Opinion

-- 
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):
  Opinion

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 --no-fixed-ip port_net1

  I get the IP_allocation field equal to "none" in the neutron database
  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


References