Disassociate floating IP from instance with an interface with no IP fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If you have an instance with 2 interfaces, and one of them has no IP (e.g. is L2 only), then
list_target_
This patch resolves.
index 1478a6f..a026b15 100644
--- a/openstack_
+++ b/openstack_
@@ -506,8 +506,11 @@ class FloatingIpManag
else:
ports = self._target_
- return ['{0}_{
- for p in ports]
+ v = []
+ for p in ports:
+ if len(p['
+ v.append(
+ return v
Changed in horizon: | |
status: | New → Invalid |
I have reproduce it,not found the problem you said. when i associate a fip to an instance interface with no ip ,then disassociate the fip ,it;s success.