]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Pass '--dhcp-authoritative' option to dnsmasq
authorAlexey I. Froloff <raorn@raorn.name>
Mon, 2 Feb 2015 10:44:14 +0000 (13:44 +0300)
committerAlexey I. Froloff <raorn@raorn.name>
Wed, 4 Feb 2015 09:44:40 +0000 (12:44 +0300)
commit74a16fde1c9972dc3c5d07215ca9d5e8f2e23d70
tree409c2d18000d35a7b9fe4285b0080000bb8c6858
parent64bd24f9d63f679140b770eb59e196636d71926c
Pass '--dhcp-authoritative' option to dnsmasq

When dnsmasq is restarted, it forgets about all leases (since it runs
with leasefile-ro option). When client tries to renew its lease, dnsmasq
sends DHCPNAK reply with message "lease not found". Then client shuts
down the network and re-request lease from DHCP server (and gets exactly
same IP address). There's a small network downtime which affects
services, like zookeeper, running in VMs.

Change-Id: Ieff0236670c1403b5d79ad8e50d7574c1b694e34
Closes-Bug: #1345947
neutron/agent/linux/dhcp.py
neutron/tests/unit/test_linux_dhcp.py