← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1201873] Re: dnsmasq does not use -h, so /etc/hosts sends folks to loopback when they look up the machine it's running on

 

** Changed in: nova (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1201873

Title:
  dnsmasq does not use -h, so /etc/hosts sends folks to loopback when
  they look up the machine it's running on

Status in OpenStack Compute (Nova):
  Fix Released
Status in nova package in Ubuntu:
  Fix Released

Bug description:
   from dnsmasq(8):

        -h, --no-hosts
                Don't read the hostnames in /etc/hosts.

  
  I reliably get bit by this during certain kinds of deployments, where my nova-network/dns host has an entry in /etc/hosts such as:

  127.0.1.1    hostname.example.com hostname

  I keep having to edit /etc/hosts on that machine to use a real IP,
  because juju gets really confused when it looks up certain openstack
  hostnames and gets sent to its own instance!

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1201873/+subscriptions