← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1430511] [NEW] Adding a fixed_ip to an instance with neutron only updates the first port

 

Public bug reported:

This blueprint added support to nova for having multiple ports attached
to an instance on the same network:

https://blueprints.launchpad.net/nova/+spec/multiple-if-1-net

However, with the "Multinic" API extension in nova, if you're adding a
fixed_ip to an instance, the neutronv2 API will only copy the fixed_ips
from the first subnet on the network to the first port associated with
the instance:

https://github.com/openstack/nova/blob/2015.1.0b2/nova/network/neutronv2/api.py#L745

Once that's done, the code returns and the other subnets/ports aren't
handled.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: neutron

-- 
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/1430511

Title:
  Adding a fixed_ip to an instance with neutron only updates the first
  port

Status in OpenStack Compute (Nova):
  New

Bug description:
  This blueprint added support to nova for having multiple ports
  attached to an instance on the same network:

  https://blueprints.launchpad.net/nova/+spec/multiple-if-1-net

  However, with the "Multinic" API extension in nova, if you're adding a
  fixed_ip to an instance, the neutronv2 API will only copy the
  fixed_ips from the first subnet on the network to the first port
  associated with the instance:

  https://github.com/openstack/nova/blob/2015.1.0b2/nova/network/neutronv2/api.py#L745

  Once that's done, the code returns and the other subnets/ports aren't
  handled.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1430511/+subscriptions


Follow ups

References