This bug reported that after restarting nova-network, the dnsmasq ACCEPT
iptables rules were no longer present, causing instances to lose their
IP addresses. This patch updates the restart_dhcp() function in the
linux_net driver to ensure these rules are present even if dnsmasq was
already running. Before this was only done when first starting dnsmasq.
Reviewed: https:/ /review. openstack. org/8552 github. com/openstack/ nova/commit/ aa1e71d1b313f80 f5581b1422e3f3e 5719569e50
Committed: http://
Submitter: Jenkins
Branch: master
commit aa1e71d1b313f80 f5581b1422e3f3e 5719569e50
Author: Russell Bryant <email address hidden>
Date: Thu Jun 14 12:34:08 2012 -0400
Ensure dnsmasq accept rules are preset at startup.
Fix bug 1000853.
This bug reported that after restarting nova-network, the dnsmasq ACCEPT
iptables rules were no longer present, causing instances to lose their
IP addresses. This patch updates the restart_dhcp() function in the
linux_net driver to ensure these rules are present even if dnsmasq was
already running. Before this was only done when first starting dnsmasq.
Change-Id: Icfbe6177d4c913 c3d7755ca40a717 52bcdaa4448