[Openstack] Nova doesn't release ips when terminating instances

Lars Kellogg-Stedman lars at seas.harvard.edu
Tue Jun 26 16:55:02 UTC 2012


> force_dhcp_release=true should cause the ip to be released immediately,
> assuming the relevant optional binary from dnsmasq is installed (it is in
> the package dnsmasq-utils in ubuntu).

The dhcp_release command does not appear to be packaged with Fedora.

> If it is set to false then the ips
> should be reclaimed after a set timeout period (ten minutes by default) via
> a periodic task in the network worker. If they are not being reclaimed
> properly then there is definitely a bug somewhere...

It does not appear that ips are ever properly reclaimed.  They will
hang around with allocated=0 and instance_id != NULL forever, until I
manually correct the database.

-- 
Lars Kellogg-Stedman <lars at seas.harvard.edu>       |
Senior Technologist                                | http://ac.seas.harvard.edu/
Academic Computing                                 | http://code.seas.harvard.edu/
Harvard School of Engineering and Applied Sciences |




More information about the Openstack mailing list