Comment 3 for bug 1668949

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-lxc_hosts (master)

Reviewed: https://review.openstack.org/494675
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-lxc_hosts/commit/?id=2ffcc79451491b038389398e68d0cc4578d5d4df
Submitter: Jenkins
Branch: master

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.

    Closes-Bug: 1668949
    Change-Id: I7aa2f0081d7d79ab42fcfc28e3ed6839a4f66c8a