<div dir="ltr">It is also worth looking to see what dnsmasq processes you have (ps -ef| grep dnsmasq)<div>2 (and only 2) dnsmasq processes are  configured/launched by nova-network to a listen address which should be the ip address of the br100 bridge eg 192.168.0.1 . the only interface it explicits excludes is lo (loopback) </div>

<div><br></div><div style>The suspicious thing for me is that the server also did an ack for </div><div style>192.168.20.* and 192.168.30.* as well as the 10 network.</div><div style><br></div><div>regards</div><div>calvin</div>
<div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 1:46 PM, Albert Vonpupp <span dir="ltr"><<a href="mailto:vonpupp@gmail.com" target="_blank">vonpupp@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Thanks Aaron and John for your fast answers.<br><br>Unfortunatelly I forgot to include the subject on this message.<br>
<br>To be honest I'm not totally sure what is going on, but what I notice is that when I do start a VM on top of OpenStack, after the bridge br100 is created, I cannot login the rest of the machines on the lab (those which are not related to the OpenStack tests, but on the same physical network)<br>

<br><span style="color:rgb(255,0,0)"><b>Here is a cat of my /var/log/messages on the controller node</b></span><br><br>[root@<b>controller</b> ~]# <b>tail -20 /var/log</b>/messages                                                                                                                                                 <br>

Sep 25 16:51:40 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) e0:b9:ba:ae:78:dd no address available                                                                                       <br>Sep 25 16:51:41 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 4c:bc:a5:92:e1:c7 no address available                                                                                       <br>

Sep 25 16:51:42 controller dnsmasq-dhcp[5860]: DHCPINFORM(br100) 192.168.30.52 00:1b:b1:28:64:ae                                                                                                <br>Sep 25 16:51:42 controller dnsmasq-dhcp[5860]: DHCPACK(br100) 192.168.30.52 00:1b:b1:28:64:ae Leliane-NB                                                                                        <br>

Sep 25 16:51:42 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 30:39:26:83:7c:6a no address available                                                                                       <br>Sep 25 16:51:42 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 84:8f:69:c7:45:26 no address available                                                                                       <br>

Sep 25 16:51:44 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 4c:b1:99:83:77:82 no address available<br>Sep 25 16:51:45 controller dnsmasq-dhcp[5860]: BOOTP(br100) 14:5a:05:1e:43:1a no address available<br>Sep 25 16:51:48 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 18:3f:47:ba:0b:a8 no address available<br>

Sep 25 16:51:48 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) e0:b9:ba:ae:78:dd no address available<br>Sep 25 16:51:48 controller dnsmasq-dhcp[5860]: DHCPREQUEST(br100) 10.0.0.2 fa:16:3e:64:cd:82<br>Sep 25 16:51:48 controller dnsmasq-dhcp[5860]: DHCPACK(br100) 10.0.0.2 fa:16:3e:64:cd:82 ubuntu01<br>

Sep 25 16:51:50 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 30:39:26:83:7c:6a no address available<br>Sep 25 16:51:51 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 84:8f:69:c7:45:26 no address available<br>Sep 25 16:51:52 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 7c:c3:a1:ac:a1:ed no address available<br>

Sep 25 16:51:53 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 4c:b1:99:83:77:82 no address available<br>Sep 25 16:51:53 controller dnsmasq-dhcp[5860]: DHCPINFORM(br100) 192.168.60.2 00:25:11:cf:f0:54<br>Sep 25 16:51:53 controller dnsmasq-dhcp[5860]: DHCPACK(br100) 192.168.60.2 00:25:11:cf:f0:54 sed06<br>

Sep 25 16:51:53 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 7c:c3:a1:ac:a1:ed no address available<br>Sep 25 16:51:55 controller dnsmasq-dhcp[5860]: DHCPDISCOVER(br100) 7c:c3:a1:ac:a1:ed no address available<br><br>

I don't think I'm using neutron, as far as I know I'm using nova-network. On the example I booted an ubuntu VM and it got the IP 10.0.0.2, and then I cound't logon on another computer from the lab.<br><br>

<span style="color:rgb(255,0,0)"><b>Here are some lines from dmesg from a regular workstation that was already logged in while DevStack has a running VM:</b></span><br><br>albert ~ $ dmesg<br>[23898.208033] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> not responding, still trying<br>

[23898.212053] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> not responding, still trying<br>[23907.504018] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> not responding, still trying<br>

[23907.504038] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> not responding, still trying<br>[23907.504041] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> not responding, still trying<br>

[23921.824036] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> not responding, still trying<br>[24041.754304] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> OK<br>

[24041.754316] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> OK<br>[24101.753756] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> OK<br>
[24161.753178] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> OK<br>
[24161.808018] lockd: server <a href="http://lua.eclipse.ime.usp.br" target="_blank">lua.eclipse.ime.usp.br</a> not responding, still trying<br><br></div><span style="color:rgb(255,0,0)"><b>Here is my localrc (controller)</b></span><br>
<br>
[stack@<b>controller</b> ~]$ <b>cat devstack/localrc</b> <br>#VIRT_DRIVER=docker<br><br>#SERVICE_HOST=10.11.0.40 # REMOVE THIS LINE FOR THE CONTROLLER<br># Stop DevStack polluting /opt/stack<br>DESTDIR=/opt/stack/src/openstack<br>

<br># Switch to use QPid instead of RabbitMQ <br>disable_service rabbit<br>disable_service n-cpu<br>enable_service qpid<br>#enable_service qpid, n-cpu,n-net,n-api,n-vol<br><br># Replace with your primary interface name<br>

HOST_IP_IFACE=em1<br>PUBLIC_INTERFACE=em1<br>VLAN_INTERFACE=em1<br>FLAT_INTERFACE=em1<br><br># Replace with whatever password you wish to use<br>MYSQL_PASSWORD=badpassword<br>SERVICE_TOKEN=badpassword<br>SERVICE_PASSWORD=badpassword<br>

ADMIN_PASSWORD=badpassword<br><br># Pre-populate glance with a minimal image and a Fedora 17 image<br>IMAGE_URLS="<a href="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz" target="_blank">http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz</a> #,<a href="http://berrange.fedorapeople.org/images/2012-11-15/f17-x86_64-openstack-sda.qcow2" target="_blank">http://berrange.fedorapeople.org/images/2012-11-15/f17-x86_64-openstack-sda.qcow2</a>"<br>

<br>#ENABLED_SERVICES=n-cpu,n-net,n-api,n-vol # REMOVE THIS LINE FOR THE CONTROLLER<br><br></div><span style="color:rgb(255,0,0)"><b>Here is my localrc on any compute node:</b></span><br><br>[stack@<b>compute02</b> ~]$ cat <b>devstack/localrc</b><br>

#SERVICE_HOST=10.7.22.7 # REMOVE THIS LINE FOR THE CONTROLLER<br>SERVICE_HOST=<a href="http://marte.eclipse.ime.usp.br" target="_blank">marte.eclipse.ime.usp.br</a> # REMOVE THIS LINE FOR THE CONTROLLER<br># Stop DevStack polluting /opt/stack<br>

DESTDIR=/opt/stack/src/openstack                                                                                                                                                                <br>                                                                                                                                                                                                <br>

# Switch to use QPid instead of RabbitMQ                                                                                                                                                        <br>##disable_service rabbit c-sch c-api c-vol                                                                                                                                                      <br>

disable_service c-vol                                                                                                                                                                           <br>#disable_service g-api                                                                                                                                                                          <br>

#disable_service g-reg                                                                                                                                                                          <br>disable_service key<br>disable_service n-crt<br>

disable_service n-obj<br>disable_service n-cond<br>disable_service cinder<br>disable_service c-sch<br>disable_service c-api<br>disable_service c-vol<br>disable_service c-sch<br>disable_service n-novnc<br>disable_service n-xvnc<br>

disable_service n-cauth<br>disable_service horizon<br>disable_service rabbit<br>disable_service tempest<br>##disable_service mysql <br>##enable_service qpid<br>#enable_service n-cpu,n-net,n-api,n-vol<br># g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,mysql,n-cpu,n-net,n-api,n-vol<br>

<br>disable_all_services<br>enable_service qpid n-cpu n-net n-api n-vol<br><br><br># Replace with your primary interface name<br>HOST_IP_IFACE=em1<br>PUBLIC_INTERFACE=em1<br>VLAN_INTERFACE=em1<br>FLAT_INTERFACE=em1<br><br>

# Replace with whatever password you wish to use<br>MYSQL_PASSWORD=badpassword<br>SERVICE_TOKEN=badpassword<br>SERVICE_PASSWORD=badpassword<br>ADMIN_PASSWORD=badpassword<br><br># Pre-populate glance with a minimal image and a Fedora 17 image<br>

IMAGE_URLS="<a href="http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz,http://berrange.fedorapeople.org/images/2012-11-15/f17-x86_64-openstack-sda.qcow2" target="_blank">http://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-uec.tar.gz,http://berrange.fedorapeople.org/images/2012-11-15/f17-x86_64-openstack-sda.qcow2</a>"<br>

<br>#ENABLED_SERVICES=n-cpu,n-net,n-api,n-vol # REMOVE THIS LINE FOR THE CONTROLLER<br>#RABBIT_PASSWORD=d83acc200f2fa34b127a<br><br>MYSQL_HOST=$SERVICE_HOST<br>RABBIT_HOST=$SERVICE_HOST<br>GLANCE_HOSTPORT=$SERVICE_HOST:9292<br>

Q_HOST=$SERVICE_HOST<br><div><div><br></div><div><b><span style="color:rgb(255,0,0)">Here is my hosts file (all nodes):</span></b><br><br>[stack@<b>controller</b> ~]$ cat <b>/etc/hosts</b><br>127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4<br>

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6<br>143.107.45.200  <a href="http://marte.eclipse.ime.usp.br" target="_blank">marte.eclipse.ime.usp.br</a> marte controller<br>143.107.45.201  <a href="http://jupiter.eclipse.ime.usp.br" target="_blank">jupiter.eclipse.ime.usp.br</a> jupiter compute01 c01<br>

143.107.45.202  <a href="http://saturno.eclipse.ime.usp.br" target="_blank">saturno.eclipse.ime.usp.br</a> saturno compute02 c02<br>143.107.45.193  <a href="http://venus.eclipse.ime.usp.br" target="_blank">venus.eclipse.ime.usp.br</a> venus compute03 c03<br>

</div><div><br></div><div>All of the IPs are public. I didn't understand about the FlatDHCP to be honest, I will research about it.<br></div><div><br>Any ideas?<br><br>Many thanks!<br><br></div><div>Regards,<br></div>

<div>Albert.<br></div></div></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 4:55 PM, John Griffith <span dir="ltr"><<a href="mailto:john.griffith@solidfire.com" target="_blank">john.griffith@solidfire.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_extra">

<div><div><br><br><div class="gmail_quote">On Wed, Sep 25, 2013 at 1:26 PM, Aaron Rosen <span dir="ltr"><<a href="mailto:arosen@nicira.com" target="_blank">arosen@nicira.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Hi Albert, </div><div class="gmail_extra"><br>Are you sure this is happening. I'm positive that neutron's dhcp agent will only hand out ip addresses for ports that it knows about and I'm sure nova-network does the same as well. </div>




<div class="gmail_extra"><br>Aaron<br><br><div class="gmail_quote"><div><div>On Wed, Sep 25, 2013 at 12:17 PM, Albert Vonpupp <span dir="ltr"><<a href="mailto:vonpupp@gmail.com" target="_blank">vonpupp@gmail.com</a>></span> wrote:<br>




</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">




Hello,</p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">
I'm trying DevStack at the university lab. When I tried to deploy a VM I noticed that all the machines from the lab started renewing their leases with the DevStack DHCP server. That is inconvenient for me since I'm not the only user of this lab and it could cause troubles. I thought that perhaps changing the default port on the controller as on the compute nodes would work, but I don't know how to do that.</p>





<p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">How can I change the dnsmasq DHCP port on DevStack? (controller and compute nodes)</p>





<p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">Thanks a lot!</p><span><font color="#888888"><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;font-size:14px;line-height:1.4;font-family:'Helvetica Neue',Arial,Helvetica,sans-serif;color:rgb(75,75,75)">





<span style="font-family:arial;font-size:small;line-height:normal;color:rgb(34,34,34)">Albert.</span></p></font></span></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div></div></div><div class="gmail_default" style="font-family:'courier new',monospace">Hi Albert,</div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">



I inadvertently did this once in our lab.  The issue I believe (if my memory is correct) you're probably using nova-networking and you've configured FlatDHCP.  The problem is that you're that your public network is accessing your internal/private network (check your bridge setting) so the result is that external DHCP requests can be received from your OpenStack private network.</div>



<div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">It might be helpful if you include your localrc file and some info regarding your systems nics and how they're configured.</div>

<span><font color="#888888">

<div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_default" style="font-family:'courier new',monospace">John</div><div class="gmail_default" style="font-family:'courier new',monospace">



<br></div><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><br></font></span></div></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><br>Albert.<br><br><a href="http://www.albertdelafuente.com" target="_blank">http://www.albertdelafuente.com</a>
</font></span></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" 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" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>