adding a fixed ip to instance with quantum replaces existing ip

Bug #1157439 reported by Vish Ishaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
dan wendlandt

Bug Description

When adding a new fixed ip to an instance through nova while using a quantum backend, The existing ip is replaced:

for example:

$ nova list
+--------------------------------------+------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------+--------+------------------+
| 8c9d9cf1-6f93-46aa-8be9-1a1eabed8b68 | foo | ACTIVE | private=10.0.0.4 |
+--------------------------------------+------+--------+------------------+

$ nova add-fixed-ip foo fce9d57d-2a7a-4b06-ab1b-665170337cad

$ nova list
+--------------------------------------+------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------+--------+------------------+
| 8c9d9cf1-6f93-46aa-8be9-1a1eabed8b68 | foo | ACTIVE | private=10.0.0.3 |
+--------------------------------------+------+--------+------------------+

Expected:

both ips should be on the instance

Changed in nova:
importance: Undecided → High
milestone: none → grizzly-rc1
dan wendlandt (danwent)
Changed in nova:
assignee: nobody → dan wendlandt (danwent)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/24852

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/24852
Committed: http://github.com/openstack/nova/commit/b9a3e798dcb474bd733cb7a92219ec186831ae0c
Submitter: Jenkins
Branch: master

commit b9a3e798dcb474bd733cb7a92219ec186831ae0c
Author: Dan Wendlandt <email address hidden>
Date: Tue Mar 19 16:53:25 2013 -0700

    fix add-fixed-ip with quantum

    bug 1157439

    code was ignoring existing IPs on a port when adding a new IP.

    Change-Id: I11f3c81eafc6c7d44772c3c8aea3b14f4b6bc815

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-rc1 → 2013.1
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.