dnsmasq should run in "authoritative mode"

Bug #1417057 reported by Alexey I. Froloff
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
In Progress
Undecided
Alexey I. Froloff

Bug Description

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.

dnsmasq have special option, --dhcp-authoritative, which makes it think it's the only DHCP server on network. In this particular case, when lease not found and client renews address, operation is completed successfully. Although, several DHCP agents may exist for a single network, they all share same configuration and can be considered as "the only DHCP server".

TL;DR - option "--dhcp-authoritative" should be added to dnsmasq's command line.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/152080

Changed in neutron:
assignee: nobody → Alexey I. Froloff (raorn)
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.