commit 2ffcc79451491b038389398e68d0cc4578d5d4df
Author: Major Hayden <email address hidden>
Date: Thu Aug 17 13:46:16 2017 -0500
Prevent dnsmasq from reading hosts file
OpenStack-Ansible configures /etc/hosts with the management IP
addresses of containers, but dnsmasq gets confused when it sees those
host names associated with a 10.X address on the lxc bridge. It
causes lots of errors in the log files like these:
not giving name hydrogen_rsyslog_container-307df194 to the DHCP
lease of 10.0.3.196 because the name exists in /etc/hosts with
address 172.29.239.71
This patch adds the --no-hosts option for dnsmasq so that it will
stop reading /etc/hosts and filling up log files.
Reviewed: https:/ /review. openstack. org/494675 /git.openstack. org/cgit/ openstack/ openstack- ansible- lxc_hosts/ commit/ ?id=2ffcc794514 91b038389398e68 d0cc4578d5d4df
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2ffcc79451491b0 38389398e68d0cc 4578d5d4df
Author: Major Hayden <email address hidden>
Date: Thu Aug 17 13:46:16 2017 -0500
Prevent dnsmasq from reading hosts file
OpenStack- Ansible configures /etc/hosts with the management IP
addresses of containers, but dnsmasq gets confused when it sees those
host names associated with a 10.X address on the lxc bridge. It
causes lots of errors in the log files like these:
not giving name hydrogen_ rsyslog_ container- 307df194 to the DHCP
lease of 10.0.3.196 because the name exists in /etc/hosts with
address 172.29.239.71
This patch adds the --no-hosts option for dnsmasq so that it will
stop reading /etc/hosts and filling up log files.
Closes-Bug: 1668949 ab42fcfc28e3ed6 839a4f66c8a
Change-Id: I7aa2f0081d7d79