nova w/ FlatDHCP isn't fully deallocating fixed_ips
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Vish Ishaya |
Bug Description
Using the most recent Nova Essex builds on Fedora. It appears that Nova isn't fully deallocating fixed_ips:
After deleting an instance I'm seeing the following warnings in network.log:
2012-03-13 04:29:17 WARNING nova.network.
----
The following error from nova-manage (I fixed this display issue in other bug):
[root@nova1 ~]# nova-manage fixed list
network IP address hostname host
192.168.0.0/24 192.168.0.0 None None
192.168.0.0/24 192.168.0.1 None None
Command failed, please check log for more info
2012-03-13 04:34:43 CRITICAL nova [req-4f51bcdf-
----
Here is the fixed IPs table:
mysql> select * from fixed_ips where instance_id is not null;
+------
| created_at | updated_at | deleted_at | deleted | id | address | network_id | instance_id | allocated | leased | reserved | virtual_
+------
| 2012-03-13 04:10:37 | 2012-03-13 04:33:20 | NULL | 0 | 3 | 192.168.0.2 | 1 | 2 | 0 | 1 | 0 | NULL | NULL |
+------
1 row in set (0.00 sec)
----
Nova will work fine until an IP gets recycled at which point things go downhill.
Changed in nova: | |
assignee: | nobody → Dan Prince (dan-prince) |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
milestone: | none → essex-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
assignee: | justinsb (justin-fathomdb) → nobody |
milestone: | essex-rc1 → none |
status: | In Progress → Fix Released |
Changed in nova: | |
milestone: | none → 2012.1 |
Changed in nova: | |
assignee: | nobody → Vish Ishaya (vishvananda) |
I'm assuming you can't use force_dhcp_release, but i'm curious why _disassociate_ stale_fixed_ ips isn't working?