[Pkg-libvirt-maintainers] Bug#481619: libvirtd looses connection to domain if started two times

Thomas Mueller thomas at chaschperli.ch
Sat May 17 12:04:22 UTC 2008


Package: libvirt-bin
Version: 0.4.2-5

hi there

with 0.4.2-5 on debian lenny with kvm-66 i have the following 
reproducable problem.

steps to reproduce:
- create domain VM001
- try to create a second time VM001
- after that, "virsh list" shows nothing
- "ps -C kvm" shows kvm is still running and it's accepting vnc connections

here the console log:

host:/etc/libvirt/qemu# virsh create /etc/libvirt/qemu/vm001.xml
Domain vm001 created from /etc/libvirt/qemu/vm001.xml

host:/etc/libvirt/qemu# virsh list
  Id Name                 State
----------------------------------
   6 vm001                running


host:/etc/libvirt/qemu# virsh create /etc/libvirt/qemu/vm001.xml
libvir: QEMU error : internal error VM is already active
error: Failed to create domain from /etc/libvirt/qemu/vm001.xml

host:/etc/libvirt/qemu# virsh list
  Id Name                 State
----------------------------------

host:/etc/libvirt/qemu# ps -C kvm
   PID TTY          TIME CMD
  3056 ?        00:00:19 kvm



if i then kill kvm it gets state <defunct>.

i started libvirtd with LIBVIRT_DEBUG=1 and i've also done a strace. See 
attachements.

- Thomas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libvirt.log
Url: http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20080517/ec227604/attachment-0002.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libvirt.strace.log
Url: http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20080517/ec227604/attachment-0003.txt 


More information about the Pkg-libvirt-maintainers mailing list