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

Bug #1430511 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

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.

Tags: neutron
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.