<div dir="ltr">Hi Darragh,<div><br></div><div>Thank you for your advise! It worked like a charm!</div><div><br></div><div>That's it, after adding:</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">root@hyperstack-1:~# cat /etc/init/neutron-ovs-cleanup.</span><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">conf</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px">
<span style="font-family:arial,sans-serif;font-size:12.800000190734863px">start on starting nova-compute or neutron-plugin-openvswitch-</span><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">agent</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px">
<span style="font-family:arial,sans-serif;font-size:12.800000190734863px">script</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px"><span style="font-family:arial,sans-serif;font-size:12.800000190734863px"> /usr/bin/neutron-ovs-cleanup</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px">
<span style="font-family:arial,sans-serif;font-size:12.800000190734863px">end script</span><br style="font-family:arial,sans-serif;font-size:12.800000190734863px"></div><div><br></div><div>Compute Node can be rebooted and all its Instances, gets its IPs immediately after node restarts.</div>
<div><br></div><div>Thanks!!!</div><div>Thiago</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 19 November 2013 08:01, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Thiago,<br>
<br>
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>
<br>
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>
<br>
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>
<br>
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>
<br>
root@compute1:~# cat /etc/init/neutron-ovs-cleanup.conf<br>
start on starting nova-compute or neutron-plugin-openvswitch-agent<br>
script<br>
/usr/bin/neutron-ovs-cleanup<br>
end script<br>
<br>
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>
<br>
Re, Darragh.<br>
<div class="im"><br>
<br>
<br>
>Guys,<br>
><br>
>My Havana (Ubuntu based) Compute Node was restarted and lots of Instances<br>
>does not get an IP anymore.<br>
><br>
>Tips?!<br>
><br>
</div><div class="im">>It is ramdom, I mean, some instances of this same compute node are normal,<br>
>while others have no IP.<br>
><br>
</div><div class="im">>I really need help here because my client's web site is completely off line<br>
>now...<br>
><br>
>I'm using Per-Tenant router with private networks + VXLAN.<br>
><br>
>Tks!<br>
>Thiago<br>
<br>
</div>_______________________________________________<br>
<div class="HOEnZb"><div class="h5">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>
</div></div></blockquote></div><br></div>