openstack team mailing list archive
Mailing list archive
Force dhcp release in Centos and Fedora
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.