← Back to team overview

openstack team mailing list archive

Re: Nova doesn't release ips when terminating instances

 

> 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@xxxxxxxxxxxxxxxx>       |
Senior Technologist                                | http://ac.seas.harvard.edu/
Academic Computing                                 | http://code.seas.harvard.edu/
Harvard School of Engineering and Applied Sciences |


Follow ups

References