[libvirt] libvirt accidentally destroys guests after being restarted

2013-03-02 Thread Igor Lukyanov
Hello. We notice a very upsetting behavior of how libvirtd deals with running domains after being restarted. Namely, in 10-20s after start libvirtd may accidentally kill a random number of running (qemu) domains with SIGTERM. Here is what we get in libvirt log: 2013-02-27 12:35:10.415+:

Re: [libvirt] libvirt accidentally destroys guests after being restarted

2013-03-02 Thread Stefan Berger
On 03/02/2013 04:35 AM, Igor Lukyanov wrote: Hello. We notice a very upsetting behavior of how libvirtd deals with running domains after being restarted. Namely, in 10-20s after start libvirtd may accidentally kill a random number of running (qemu) domains with SIGTERM. [...] Specifically

Re: [libvirt] Release candidate 2 of 1.0.3 is available

2013-03-02 Thread Christophe Fergeau
Hey, On Wed, Feb 27, 2013 at 07:20:56PM +0800, Daniel Veillard wrote: I have just tagged git and pushed the tarball. The rpms for F17 are at the usual place too: ftp://libvirt.org/libvirt/ I gave a try to the set of rpms and this seems to work fine for relatively simple tests.

Re: [libvirt] libvirt accidentally destroys guests after being restarted

2013-03-02 Thread Stefan Berger
On 03/02/2013 09:39 AM, Andrey Korolyov wrote: Sorry in advance for possible top-post, I`m not able to add proper messageid here. Does it ever occur if you don't run with DHCP snooping enabled? Stefan No, please disregard those errors. We don`t run DHCP snooping/IP learning on interfaces

Re: [libvirt] [PATCH] Fix error report from nl_recvmsg

2013-03-02 Thread Doug Goldstein
On Thu, Feb 28, 2013 at 1:11 PM, Laine Stump la...@laine.org wrote: On 02/28/2013 11:37 AM, Daniel P. Berrange wrote: On Fri, Mar 01, 2013 at 12:31:34AM +0800, Daniel Veillard wrote: On Thu, Feb 28, 2013 at 04:24:17PM +, Daniel P. Berrange wrote: On Thu, Feb 28, 2013 at 04:16:37PM +,

Re: [libvirt] [PATCH] Fix error report from nl_recvmsg

2013-03-02 Thread Doug Goldstein
On Fri, Mar 1, 2013 at 8:44 AM, Eric Blake ebl...@redhat.com wrote: On 03/01/2013 03:18 AM, Daniel P. Berrange wrote: So the conclusion is that I see no extra harm in calling nl_geterror(). ACK. Except the API signature is different, so my patch won't work with both versions :-( Sounds

Re: [libvirt] Release candidate 2 of 1.0.3 is available

2013-03-02 Thread Doug Goldstein
On Sat, Mar 2, 2013 at 8:30 AM, Christophe Fergeau cferg...@redhat.com wrote: Hey, On Wed, Feb 27, 2013 at 07:20:56PM +0800, Daniel Veillard wrote: I have just tagged git and pushed the tarball. The rpms for F17 are at the usual place too: ftp://libvirt.org/libvirt/ I gave a try

Re: [libvirt] Release candidate 2 of 1.0.3 is available

2013-03-02 Thread Christophe Fergeau
On Sat, Mar 02, 2013 at 12:30:10PM -0600, Doug Goldstein wrote: On Sat, Mar 2, 2013 at 8:30 AM, Christophe Fergeau cferg...@redhat.com wrote: diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index f3b09cf..3ef3499 100644 --- a/src/qemu/qemu_conf.c +++ b/src/qemu/qemu_conf.c @@

Re: [libvirt] Release candidate 2 of 1.0.3 is available

2013-03-02 Thread Laine Stump
On 03/02/2013 01:30 PM, Doug Goldstein wrote: On Sat, Mar 2, 2013 at 8:30 AM, Christophe Fergeau cferg...@redhat.com wrote: Hey, On Wed, Feb 27, 2013 at 07:20:56PM +0800, Daniel Veillard wrote: I have just tagged git and pushed the tarball. The rpms for F17 are at the usual place too:

Re: [libvirt] Release candidate 2 of 1.0.3 is available

2013-03-02 Thread Laine Stump
On 03/02/2013 09:30 AM, Christophe Fergeau wrote: Hey, On Wed, Feb 27, 2013 at 07:20:56PM +0800, Daniel Veillard wrote: I have just tagged git and pushed the tarball. The rpms for F17 are at the usual place too: ftp://libvirt.org/libvirt/ I gave a try to the set of rpms and this

[libvirt] libvirt accidentally destroys guests after being restarted

2013-03-02 Thread Andrey Korolyov
Sorry in advance for possible top-post, I`m not able to add proper messageid here. Does it ever occur if you don't run with DHCP snooping enabled? Stefan No, please disregard those errors. We don`t run DHCP snooping/IP learning on interfaces but only modified clean-traffic rules, current

Re: [libvirt] libvirt accidentally destroys guests after being restarted

2013-03-02 Thread Andrey Korolyov
Stefan, qemu-1.1.2 with dfsg-5 patchset http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu_1.1.2+dfsg-5.debian.tar.gz for example VM` xml is quite simple, qemu64 cpu model, pc-1.1 machine model, one virtio disk, two bridged virtio NICs, serial and virtio-serial ptys. On Sat, Mar 2, 2013 at