Re: [ovs-dev] OpenVSwitch and libvirt integration problem at shutdown/reboot

2013-03-07 Thread Ernesto Domato
Ok, I'm cross-posting to OpenVSwitch devel mailing and libvirt-users mailing so we all are in the same tune :-) If you didn't read the original mail that I sent, it is about an issue that I'm having on Debian that when I reboot or shutdown the host system, OVS is stopped before the KVMs are taking

Re: [ovs-dev] OpenVSwitch and libvirt integration problem at shutdown/reboot

2013-03-06 Thread Ansis Atteka
On Wed, Mar 6, 2013 at 7:41 AM, Ernesto Domato wrote: > Sorry for the late response. > > On Mon, Mar 4, 2013 at 7:06 PM, Ansis Atteka wrote: >> On Mon, Mar 4, 2013 at 12:08 PM, Ernesto Domato wrote: >> >> If you do not block on interface creation and libvirt/Open vSwitch >> init.d dependencies a

Re: [ovs-dev] OpenVSwitch and libvirt integration problem at shutdown/reboot

2013-03-06 Thread Ernesto Domato
Sorry for the late response. On Mon, Mar 4, 2013 at 7:06 PM, Ansis Atteka wrote: > On Mon, Mar 4, 2013 at 12:08 PM, Ernesto Domato wrote: > > If you do not block on interface creation and libvirt/Open vSwitch > init.d dependencies are not right, then I think you might end up with > another race

Re: [ovs-dev] OpenVSwitch and libvirt integration problem at shutdown/reboot

2013-03-04 Thread Ben Pfaff
One feature that I've meant to implement for a while, but haven't got around to it, is to make ovs-vsctl only try to connect to ovsdb-server once, at least in the case where the database is a local one. There isn't usually much value in waiting for ovsdb-server to start if it isn't currently runni

Re: [ovs-dev] OpenVSwitch and libvirt integration problem at shutdown/reboot

2013-03-04 Thread Ansis Atteka
On Mon, Mar 4, 2013 at 12:08 PM, Ernesto Domato wrote: > On Mon, Mar 4, 2013 at 4:49 PM, Ansis Atteka wrote: >> Though, I do agree that, if Open vSwitch was terminated before libvirt >> for whatever reason, then libvirt still shouldn't hang because of >> that. And on the next startup libvirt shou

Re: [ovs-dev] OpenVSwitch and libvirt integration problem at shutdown/reboot

2013-03-04 Thread Ernesto Domato
On Mon, Mar 4, 2013 at 4:49 PM, Ansis Atteka wrote: > Though, I do agree that, if Open vSwitch was terminated before libvirt > for whatever reason, then libvirt still shouldn't hang because of > that. And on the next startup libvirt should try to clean up whatever > was left in OVS DB from its pre

Re: [ovs-dev] OpenVSwitch and libvirt integration problem at shutdown/reboot

2013-03-04 Thread Ansis Atteka
On Mon, Mar 4, 2013 at 9:09 AM, Ernesto Domato wrote: > Hi everyone, this mail is related to a bug report that I did on Debian > (#701760) that I wasn't able to resolve yet and want to know if > someone has the same problem and how could I fix it. > > The problem that I'm having is that on shutdow

Re: [ovs-dev] OpenVSwitch and libvirt integration problem at shutdown/reboot

2013-03-04 Thread Ernesto Domato
On Mon, Mar 4, 2013 at 2:09 PM, Ernesto Domato wrote: > Looking at the manpages, I'll try another patch for libvirt that will > delete the interface with the flag --if-exists before adding it back > on libvirt start of the VM so, if the OVS-DB already has the > interface, it is deleted. If this wo

[ovs-dev] OpenVSwitch and libvirt integration problem at shutdown/reboot

2013-03-04 Thread Ernesto Domato
Hi everyone, this mail is related to a bug report that I did on Debian (#701760) that I wasn't able to resolve yet and want to know if someone has the same problem and how could I fix it. The problem that I'm having is that on shutdown/reboot of the machine that holds the virtual machines that use