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.
(cherry picked from commit aa1e71d1b313f80f5581b1422e3f3e5719569e50)
Reviewed: https:/ /review. openstack. org/8572 github. com/openstack/ nova/commit/ bc621bca08d5107 6bd81f15e29e8b8 9ea946503a
Committed: http://
Submitter: Jenkins
Branch: stable/essex
commit bc621bca08d5107 6bd81f15e29e8b8 9ea946503a
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.
(cherry picked from commit aa1e71d1b313f80 f5581b1422e3f3e 5719569e50)
Change-Id: Icda3364d3a6101 8b912cea7a4c96b 2cbcc1fbdd7