[Openstack] Neutron dnsmasq question

Qin, Xiaohong Xiaohong.Qin at emc.com
Mon Apr 28 16:08:03 UTC 2014


Hi Murali,

The dnsmasq process is been invoked as the following in the controller,

dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap7e1faebd-1c --except-interface=lo --pid-file=/opt/stack/data/neutron/dhcp/90a8a84a-d4dd-4c98-bf87-492342c55b94/pid --dhcp-hostsfile=/opt/stack/data/neutron/dhcp/90a8a84a-d4dd-4c98-bf87-492342c55b94/host --dhcp-optsfile=/opt/stack/data/neutron/dhcp/90a8a84a-d4dd-4c98-bf87-492342c55b94/opts --leasefile-ro --dhcp-range=set:tag0,10.0.0.0,static,86400s --dhcp-lease-max=256 --conf-file= --domain=openstacklocal

So it is consulting this file for name resolution,

/opt/stack/data/neutron/dhcp/90a8a84a-d4dd-4c98-bf87-492342c55b94/host

You can modify this file to map your hosts to different names as a work around. It might be possible to force this file to be auto generated with your desired options.

Dennis Qin

From: Muralidhar Balcha [mailto:muralidharb at gmail.com]
Sent: Friday, April 25, 2014 5:23 PM
To: openstack at lists.openstack.org
Subject: [Openstack] Neutron dnsmasq question

Folks,
Neutron is populating dnsmasq host file with hostname something like "host-192-168-0-0". This is not particularly useful for me. I need name resolution on the host name. How can I override this behavior? I am using Havana and this behavior is hardcoded in the code. Is there any workaround for this issue?

Regards,

--
Muralidhar Balcha
508 494 5007
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140428/18b2495b/attachment.html>


More information about the Openstack mailing list