[Openstack] [neutron] Which node should run dnsmasq?
Janki Chhatbar
jankihchhatbar at gmail.com
Fri Jun 12 11:54:29 UTC 2015
Hi Uwe
When I initially started, my setup was on Ubuntu 14.04 (bare machines) 3
node OPenStack Icehouse architecture. The guide didnot say anything about
installing dnsmasq. Then, the VMs were not getting IPs. I then installed
dnsmasq (sudo apt-get install dnsmasq) in Neutron node and the issue was
solved.
I think you should first try without installing it and everything works
fine then its good. Or else install dnsmasq on Neutron node.
Janki Chhatbar
M.Tech (Embedded Systems), Nirma University
Intern, e-Infochips Pvt. Ltd.
(+91) 9409239106
On Fri, Jun 12, 2015 at 5:05 PM, Uwe Sauter <uwe.sauter.de at gmail.com> wrote:
> Hi,
>
> == TL;DR ==
> Which neutron service manages the DNSMASQ processes? Does this run on the
> controller node or the networking node?
>
>
> == Long story ==
> I have a five node Juno installation (1 controller, 1 storage, 1 network
> and 2 compute nodes).
>
> I followed the Juno Red Hat installation guide [1] up to the point where
> the dashboard was installed, making modifications where
> necessary to account for the additional nodes. I'm using Neutron / ML2 as
> networking component with GRE tenant networks.
>
> I am able to sucessfully start a Cirros VM but that instance won't get an
> IP address. To resolve this I followed a link [2] that
> told to add logging to dnsmasq. Here the relevant parts on the *network*
> node:
>
> /etc/neutron/dhcp_agent.ini
> [DEFAULT]
> interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
> dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
> use_namespaces = True
> dhcp_delete_namespaces = True
> verbose = True
> dnsmasq_config_file = /etc/neutron/dnsmasq-neutron.conf
>
>
> /etc/neutron/dnsmasq-neutron.conf
> dhcp-option-force=26,1454
> log-facility = /var/log/neutron/dnsmasq.log
> log-dhcp
>
>
> Then I realized that there were no dnsmasq processes on the networking
> node but only on the controller node. Is this correct? I
> was under the impression that neutron-dhcp-agent (running on the
> networking node) is the service that maintains DHCP on the tenant
> networks.
>
> So the question is:
> Which service manages dnsmasq and on which node should that run on?
>
>
> Thanks,
>
> Uwe
>
> [1] http://docs.openstack.org/juno/install-guide/install/yum/content/
> [2]
> https://ask.openstack.org/en/question/63110/unable-to-get-dhcp-lease-in-juno/
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150612/6fe58e1a/attachment.html>
More information about the Openstack
mailing list