Release floating IP before disassociate it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
John Tran |
Bug Description
I use 2011.2~
I've got an allocated floating IP address associated to an instance and if I've release it before disassociate it, the floating IP stills associated to the instance (iptables rules stays active) and it's not longer listed by describe address command.
$ euca-describe-
ADDRESS 10.193.175.20 i-00000008
$ euca-describe-
RESERVATION r-dhzxpqbu simple default
INSTANCE i-00000008 ami-00000002 10.193.175.20 172.16.1.4 running mykey 0 m1.small 2011-04-
$ euca-release-
ADDRESS 10.193.175.20
$ euca-describe-
$ euca-describe-
RESERVATION r-dhzxpqbu simple default
INSTANCE i-00000008 ami-00000002 10.193.175.20 172.16.1.4 running mykey 0 m1.small 2011-04-
(network node)# iptables -t nat -nvL
...
Chain nova-network-OUTPUT (1 references)
pkts bytes target prot opt in out source destination
0 0 DNAT all -- * * 0.0.0.0/0 10.193.175.20 to:172.16.1.4
...
Chain nova-network-
pkts bytes target prot opt in out source destination
0 0 DNAT udp -- * * 0.0.0.0/0 10.193.175.25 udp dpt:1000 to:172.16.1.2:1194
5 300 DNAT tcp -- * * 0.0.0.0/0 169.254.169.254 tcp dpt:80 to:10.193.
0 0 DNAT all -- * * 0.0.0.0/0 10.193.175.20 to:172.16.1.4
...
Chain nova-network-
pkts bytes target prot opt in out source destination
1 60 SNAT all -- * * 172.16.1.4 0.0.0.0/0 to:10.193.175.20
...
Related branches
- Jason Kölker (community): Approve
- Brian Waldon (community): Approve
- Brian Lamar (community): Approve
-
Diff: 67 lines (+32/-0)2 files modifiednova/network/api.py (+3/-0)
nova/tests/test_cloud.py (+29/-0)
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → John Tran (jtran) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-3 |
Changed in nova: | |
milestone: | diablo-3 → 2011.3 |
status: | Fix Committed → Fix Released |