<div dir="ltr"><div>I submitted a bug against Ubuntu packaging for this a couple of weeks ago: <br><br><a href="https://bugs.launchpad.net/cloud-archive/+bug/1249708">https://bugs.launchpad.net/cloud-archive/+bug/1249708</a><br>
<br></div>Lorin<br><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 21, 2013 at 5:42 AM, Darragh O'Reilly <span dir="ltr"><<a href="mailto:dara2002-openstack@yahoo.com" target="_blank">dara2002-openstack@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-size:12pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif">
<div><span><br>I think this needs to be fixed in the Ubuntu packaging. Neutron-ovs-cleanup needs to run after openvswitch-switch starts and before nova-compute starts. But care needs to be taken for the case where neutron-dhcp-agent and/or neutron-l3-agent also runs on a node with nova-compute. Cleanup should run before these start too. It's easy to do this with the system V init system, but I'm not sure how with upstart.</span></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif"><span><br></span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif">
Re, Darragh.<br><span></span></div><div><div class="h5"><div style="display:block"> <br> <br> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:12pt"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:12pt">
<div dir="ltr"> <font face="Arial"> On Thursday, 21 November 2013, 7:50, Jian Wen <<a href="mailto:jian.wen@canonical.com" target="_blank">jian.wen@canonical.com</a>> wrote:<br> </font> </div> <blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">
<div><div><div><div dir="ltr">It is <a rel="nofollow" shape="rect" href="https://bugs.launchpad.net/neutron/+bug/1091605" target="_blank">https://bugs.launchpad.net/neutron/+bug/1091605</a><div><br clear="none"></div><div>
The patch fixes the above bug introduces another
bug: </div><div><a rel="nofollow" shape="rect" href="https://bugzilla.redhat.com/show_bug.cgi?id=1010941" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1010941</a><br clear="none">
</div></div><div><br clear="none"><br clear="none"><div>On Thu, Nov 21, 2013 at 2:18 PM, Jean-Daniel BUSSY <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:silversurfer972@gmail.com" target="_blank">silversurfer972@gmail.com</a>></span> wrote:<br clear="none">
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif">Nice! Thanks Thiago for the details.<br clear="none">
Looks like this bug should be reported.</div><div style="font-family:tahoma,sans-serif">
<br clear="none"></div><div style="font-family:tahoma,sans-serif">Cheers</div></div><div><span><font color="#888888"><br clear="all"></font></span><div><div dir="ltr"><div><b style="color:rgb(51,51,51)"><font><br clear="none">
<font face="tahoma, sans-serif">BUSSY Jean-Daniel</font></font></b><font face="tahoma, sans-serif"><br clear="none">
</font></div><font face="tahoma, sans-serif">Cloud Engineer | GREE<br clear="none"><font color="#333333">Mobile:</font> <a rel="nofollow" shape="rect">+81 090-3317-1337</a><br clear="none"><font color="#333333">Email:</font> <a rel="nofollow" shape="rect" href="mailto:silversurfer972@gmail.com" target="_blank">silversurfer972@gmail.com</a></font></div>
</div><div><div>
<br clear="none"><br clear="none"><div>On Tue, Nov 19, 2013 at 7:01 PM, Darragh O'Reilly <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:dara2002-openstack@yahoo.com" target="_blank">dara2002-openstack@yahoo.com</a>></span> wrote:<br clear="none">
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Thiago,<br clear="none">
<br clear="none">
I did a qucik test with Havana on Ubuntu 12.04 with QEMU, OVS 1.10.2 and the OVS hybrid driver. Started an instance, rebooted the compute node, and the instance goes to status STOPPED. Then ran 'nova start instance-name', and it starts ok, but DHCP does not work.<br clear="none">
<br clear="none">
In the logs I see OVS starting first and recreating the qvoxxxxxx-xx port and interface from its database. Then nova-compute starts and creates the qbr Linux bridge and qvb interface, but it is not recreating the qvo port and interface because they already exist. Everything looks ok, and the DHCP requests are getting to qvo, but they are not getting into br-int.<br clear="none">
<br clear="none">
It seems the qvo interface needs to be created by Nova (using the ip command) before the OVS port is created with the same name. Otherwise OVS does not seem to enslave the interface.<br clear="none">
<br clear="none">
I added this upstart script to run cleanup which will delete the ports on br-int before nova-compute and the OVS agent start:<br clear="none">
<br clear="none">
root@compute1:~# cat /etc/init/neutron-ovs-cleanup.conf<br clear="none">
start on starting nova-compute or neutron-plugin-openvswitch-agent<br clear="none">
script<br clear="none">
/usr/bin/neutron-ovs-cleanup<br clear="none">
end script<br clear="none">
<br clear="none">
Now nova-compute has to recreate everything, and the instance is getting an IP with DHCP. Maybe you can try this out in your test environment.<br clear="none">
<br clear="none">
Re, Darragh.<br clear="none">
<div><br clear="none">
<br clear="none">
<br clear="none">
>Guys,<br clear="none">
><br clear="none">
>My Havana (Ubuntu based) Compute Node was restarted and lots of Instances<br clear="none">
>does not get an IP anymore.<br clear="none">
><br clear="none">
>Tips?!<br clear="none">
><br clear="none">
</div><div>>It is ramdom, I mean, some instances of this same compute node are normal,<br clear="none">
>while others have no IP.<br clear="none">
><br clear="none">
</div><div>>I really need help here because my client's web site is completely off line<br clear="none">
>now...<br clear="none">
><br clear="none">
>I'm using Per-Tenant router with private networks + VXLAN.<br clear="none">
><br clear="none">
>Tks!<br clear="none">
>Thiago<br clear="none">
<br clear="none">
</div><div><div>_______________________________________________<br clear="none">
Mailing list: <a rel="nofollow" shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">
Post to : <a rel="nofollow" shape="rect" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br clear="none">
Unsubscribe : <a rel="nofollow" shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">
</div></div></blockquote></div><br clear="none"></div></div></div>
<br clear="none">_______________________________________________<br clear="none">
Mailing list: <a rel="nofollow" shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br clear="none">
Post to : <a rel="nofollow" shape="rect" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br clear="none">
Unsubscribe : <a rel="nofollow" shape="rect" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><div><br clear="none">
<br clear="none"></div></blockquote></div><div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"></div><div dir="ltr"><div>Cheers,</div><div>Jian</div></div><div>
</div></div></div></div><br><br></div> </blockquote> </div> </div> </div> </div></div></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">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><br clear="all"><br>-- <br><div dir="ltr">Lorin Hochstein<br><div>Lead Architect - Cloud Services</div><div>Nimbis Services, Inc.</div><div><a href="http://www.nimbisservices.com" target="_blank">www.nimbisservices.com</a></div>
</div>
</div></div></div></div>