← Back to team overview

openstack team mailing list archive

Re: Force dhcp release in Centos and Fedora

 

On 02/08/2012 12:47 PM, Ilya Kharin wrote:
> Hello.
> 
> The component nova-network disassociate fixed IP of VM when it deleted. There are two mechanisms by timeout and force. Disassociate by timeout is a periodical task (period can be set by flag --fixed_ip_disassociate_timeout). The force disassociate is optional (enabled by flag --force_dhcp_release) and involved when instance have been deleted. In fact this process use CLI tool dhcp_release to send DHCPRELEASE message to dnsmasq server for drop lease and change state of fixed ip in database. In multi-host scheme it is important. So, dhcp_release is part of dnsmasq and not included in builds in Fedora and CentOS. Also, in Fedora builds of openstack-nova does not exists sudoers rule for dhcp_release command.
> 
> I created bug report for building dnsmasq with dhcp_release https://bugzilla.redhat.com/show_bug.cgi?id=788485.

Given that this support is now in Fedora, should
we enable --force_dhcp_release do you think?
I.E. are there any reasons not to do that,
if the utilities are available?

cheers,
Pádraig.


References