Nova doesn't refresh network cache when transferring a floating IP address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Phil Day |
Bug Description
When Nova associates of disassociates a floating IP address the network info cache is always refreshed (In both Nova net and Quantum) due to the @refresh_cache decorator
However if you (re)associate a floating IP which is already associated with another instance on a Quantum based system then the address is correcly disassociated first, but the refresh is not trigged for that instance. As a result Nova will show the same address for two instances until the periodic clean-up kicks in some minutes later.
Watch what happens with 15.184.41.5 in the following:
$nova list
+------
| ID | Name | Status | Networks |
+------
| 52e0533a-
| 8184e9a7-
| 7ab2dff2-
+------
$quantum floatingip-list
+------
| id | fixed_ip_address | floating_ip_address | port_id |
+------
| 29d844c4-
| 9f0f7dfe-
+------
$nova add-floating-ip 7ab2dff2-
$quantum floatingip-list
+------
| id | fixed_ip_address | floating_ip_address | port_id |
+------
| 29d844c4-
| 9f0f7dfe-
+------
$nova list
+------
| ID | Name | Status | Networks |
+------
| 52e0533a-
| 8184e9a7-
| 7ab2dff2-
+------
Nova Networking has specific handling for this case in its associate_
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in nova: | |
assignee: | nobody → Phil Day (philip-day) |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/33054
Review: https:/