If Quantum network has more than one subnet then nova add-fixed-ip adds an ip address per defined subnet

Bug #1122899 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Gary Kotton

Bug Description

nova list
+--------------------------------------+------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------+--------+------------------+
| 17f25432-d2e3-4789-92cf-201f40809d65 | g1 | ACTIVE | private=10.0.0.4 |
+--------------------------------------+------+--------+------------------+

nova remove-fixed-ip 17f25432-d2e3-4789-92cf-201f40809d65 10.0.0.4

quantum net-list
+--------------------------------------+---------+--------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------+--------------------------------------------------+
| 3eac291e-15e1-4b38-a698-1a1c616c9a7d | private | 868523a5-45df-42f5-8a35-943a970d244e 20.0.0.0/24 |
| | | ca1a96e5-10b6-4e09-aa02-247c089c005b 10.0.0.0/24 |
| f19ae8dc-cae6-48d3-b818-a4ae793c8759 | nova | ce9ad459-51c7-4866-863b-81bc41aa56f7 |
+--------------------------------------+---------+--------------------------------------------------+

nova add-fixed-ip 17f25432-d2e3-4789-92cf-201f40809d65 3eac291e-15e1-4b38-a698-1a1c616c9a7d

nova list
+--------------------------------------+------+--------+----------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------+--------+----------------------------+
| 17f25432-d2e3-4789-92cf-201f40809d65 | g1 | ACTIVE | private=20.0.0.3, 10.0.0.4 |
+--------------------------------------+------+--------+----------------------------+

Gary Kotton (garyk)
Changed in nova:
assignee: nobody → Gary Kotton (garyk)
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/21751

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/21751
Committed: http://github.com/openstack/nova/commit/55af31cfec74244de4efbc7187a548972c4d99f3
Submitter: Jenkins
Branch: master

commit 55af31cfec74244de4efbc7187a548972c4d99f3
Author: Gary Kotton <email address hidden>
Date: Tue Feb 12 09:48:13 2013 +0000

    Ensure that only one IP address is allocated.

    Fixes bug 1122899

    Change-Id: I03f7509977a37bfcb8f1698a83638be3079065a0

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