Hi Thiago,

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.

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.

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. 

I added this upstart script to run cleanup which will delete the ports on 
br-int before nova-compute and the OVS agent start:

root@compute1:~# cat /etc/init/neutron-ovs-cleanup.conf 
start on starting nova-compute or neutron-plugin-openvswitch-agent
script
  /usr/bin/neutron-ovs-cleanup
end script

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.

Re, Darragh.



>Guys,
>
>My Havana (Ubuntu based) Compute Node was restarted and lots of Instances
>does not get an IP anymore.
>
>Tips?!
>
>It is ramdom, I mean, some instances of this same compute node are normal,
>while others have no IP.
>
>I really need help here because my client's web site is completely off line
>now...
>
>I'm using Per-Tenant router with private networks + VXLAN.
>
>Tks!
>Thiago

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to