<div dir="ltr"><div><div>Hi Uwe<br><br></div>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. <br><br></div>I think you should first try without installing it and everything works fine then its good. Or else install dnsmasq on Neutron node.<br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div><div><font face="courier new,monospace">Janki Chhatbar<br></font></div><font face="courier new,monospace">M.Tech (Embedded Systems)</font><font face="courier new,monospace">, Nirma University<br></font></div><div><font face="courier new,monospace">Intern, e-Infochips Pvt. Ltd.<br></font></div></div><font face="courier new,monospace">(+91) 9409239106<br></font></div></div></div>
<br><div class="gmail_quote">On Fri, Jun 12, 2015 at 5:05 PM, Uwe Sauter <span dir="ltr"><<a href="mailto:uwe.sauter.de@gmail.com" target="_blank">uwe.sauter.de@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
== TL;DR ==<br>
Which neutron service manages the DNSMASQ processes? Does this run on the controller node or the networking node?<br>
<br>
<br>
== Long story ==<br>
I have a five node Juno installation (1 controller, 1 storage, 1 network and 2 compute nodes).<br>
<br>
I followed the Juno Red Hat installation guide [1] up to the point where the dashboard was installed, making modifications where<br>
necessary to account for the additional nodes. I'm using Neutron / ML2 as networking component with GRE tenant networks.<br>
<br>
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<br>
told to add logging to dnsmasq. Here the relevant parts on the *network* node:<br>
<br>
/etc/neutron/dhcp_agent.ini<br>
[DEFAULT]<br>
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver<br>
dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq<br>
use_namespaces = True<br>
dhcp_delete_namespaces = True<br>
verbose = True<br>
dnsmasq_config_file = /etc/neutron/dnsmasq-neutron.conf<br>
<br>
<br>
/etc/neutron/dnsmasq-neutron.conf<br>
dhcp-option-force=26,1454<br>
log-facility = /var/log/neutron/dnsmasq.log<br>
log-dhcp<br>
<br>
<br>
Then I realized that there were no dnsmasq processes on the networking node but only on the controller node. Is this correct? I<br>
was under the impression that neutron-dhcp-agent (running on the networking node) is the service that maintains DHCP on the tenant<br>
networks.<br>
<br>
So the question is:<br>
Which service manages dnsmasq and on which node should that run on?<br>
<br>
<br>
Thanks,<br>
<br>
Uwe<br>
<br>
[1] <a href="http://docs.openstack.org/juno/install-guide/install/yum/content/" rel="noreferrer" target="_blank">http://docs.openstack.org/juno/install-guide/install/yum/content/</a><br>
[2] <a href="https://ask.openstack.org/en/question/63110/unable-to-get-dhcp-lease-in-juno/" rel="noreferrer" target="_blank">https://ask.openstack.org/en/question/63110/unable-to-get-dhcp-lease-in-juno/</a><br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div><br></div></div>