[libvirt] migration fails

Hello, I tried to migrate a kvm domain to a second identical machine with the command: virsh migrate --live dom1 qemu+ssh://second.machine.org/system which leads me to an unresponsive virsh on the second machine - 'virsh list' just takes forever and qemu wasn't started (the domain was not migrated), finally I have to kill libvirtd on the second machine. Because I'm new to libvirt I searched the web to find a solution for this behavior but without success. Please can someone on the list point me to the right direction how I can use libvirt to migrate kvm domains? I use kernel 2.6.29.1 and kvm-85 with libvirt 0.6.2 on an debian unstable system. Attached are debug logs generated by the source- and destination-machine. Thank you very much Jens

jens schrieb:
Hello,
I tried to migrate a kvm domain to a second identical machine with the command: virsh migrate --live dom1 qemu+ssh://second.machine.org/system which leads me to an unresponsive virsh on the second machine - 'virsh list' just takes forever and qemu wasn't started (the domain was not migrated), finally I have to kill libvirtd on the second machine.
Because I'm new to libvirt I searched the web to find a solution for this behavior but without success.
Please can someone on the list point me to the right direction how I can use libvirt to migrate kvm domains?
I use kernel 2.6.29.1 and kvm-85 with libvirt 0.6.2 on an debian unstable system.
Attached are debug logs generated by the source- and destination-machine.
Thank you very much Jens I put on the mailing list the exact same question two times: https://www.redhat.com/archives/libvir-list/2009-April/msg00471.html https://www.redhat.com/archives/libvir-list/2009-April/msg00322.html but to no avail: I received no answer up to now.

I was able to migrate using kvm-84 and libvirt 0.6.1 The migrate did terminate on the target host side although it takes 2-3 minutes , On the source host side the domain remains as shut -off and on the target host as running BTW: I used the --live flag now . In the past I did not use it . This flag is not documented under virsh help. Is it needed or the migration is always live ? Is the libvirt programatic virDomainMigrate () a live migration ? thanks Zvi Dubitzky Virtualization and System Architecture Email:dubi@il.ibm.com IBM Haifa Research Laboratory Phone: +972-4-8296182 Haifa, 31905, ISRAEL jens <jens@gis.de> Sent by: libvir-list-bounces@redhat.com 02/05/2009 20:48 To libvir-list@redhat.com cc Subject [libvirt] migration fails Hello, I tried to migrate a kvm domain to a second identical machine with the command: virsh migrate --live dom1 qemu+ssh://second.machine.org/system which leads me to an unresponsive virsh on the second machine - 'virsh list' just takes forever and qemu wasn't started (the domain was not migrated), finally I have to kill libvirtd on the second machine. Because I'm new to libvirt I searched the web to find a solution for this behavior but without success. Please can someone on the list point me to the right direction how I can use libvirt to migrate kvm domains? I use kernel 2.6.29.1 and kvm-85 with libvirt 0.6.2 on an debian unstable system. Attached are debug logs generated by the source- and destination-machine. Thank you very much Jens 18:57:19.599: debug : virEventAddHandleImpl:111 : Add handle 3 1 0x80557d0 0x80a4470 18:57:19.599: debug : virEventAddHandleImpl:111 : Add handle 11 13 0x8057510 0x80a4470 18:57:19.599: debug : virEventAddHandleImpl:111 : Add handle 12 13 0x8057510 0x80a4470 18:57:19.599: debug : virEventAddHandleImpl:111 : Add handle 13 13 0x8057510 0x80a4470 18:57:19.599: debug : libvirtd_mdns_add_group:431 : Adding group 'Virtualization Host wickieA' 18:57:19.599: debug : libvirtd_mdns_add_entry:466 : Adding entry _libvirt._tcp 0 to group Virtualization Host wickieA 18:57:19.599: debug : libvirtd_mdns_start:417 : Starting client 0x80b2910 18:57:19.600: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV (nil) 18:57:19.600: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283439 600200 0 0 18:57:19.600: debug : virEventAddTimeoutImpl:195 : Adding timer 1 with -1 ms freq 18:57:19.600: debug : libvirtd_mdns_watch_new:260 : New handle 0x80b5648 FD 14 Event 1 18:57:19.600: debug : virEventAddHandleImpl:111 : Add handle 14 1 0x8067310 0x80b5648 18:57:19.600: debug : libvirtd_mdns_timeout_update:353 : Update timeout 0x80b2a58 TV 0xb7bf2430 18:57:19.600: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with 0 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfb14fa4 18:57:19.600: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283439 600286 1241283464 600277 18:57:19.600: debug : virEventAddTimeoutImpl:195 : Adding timer 2 with 0 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80aa780 18:57:19.600: debug : virEventRemoveTimeoutImpl:261 : Remove timer 2 18:57:19.600: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfb14fa4 18:57:19.600: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283439 600434 1241283464 600426 18:57:19.600: debug : virEventAddTimeoutImpl:195 : Adding timer 3 with 0 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80aaac0 18:57:19.600: debug : virEventRemoveTimeoutImpl:261 : Remove timer 3 18:57:19.600: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfb14fa4 18:57:19.600: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283439 600570 1241283464 600562 18:57:19.600: debug : virEventAddTimeoutImpl:195 : Adding timer 4 with 0 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80aac60 18:57:19.600: debug : virEventRemoveTimeoutImpl:261 : Remove timer 4 18:57:19.600: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfb14fc4 18:57:19.600: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283439 600703 1241283464 600696 18:57:19.600: debug : virEventAddTimeoutImpl:195 : Adding timer 5 with 0 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80aae00 18:57:19.600: debug : virEventRemoveTimeoutImpl:261 : Remove timer 5 18:57:19.600: debug : libvirtd_mdns_client_callback:226 : Client connecting.... 0x80b25e0 18:57:19.600: debug : virEventCalculateTimeout:287 : Calculate expiry of 6 timers 18:57:19.600: debug : virEventCalculateTimeout:293 : Got a timeout scheduled for 1241283439600 18:57:19.600: debug : virEventCalculateTimeout:317 : Timeout at 1241283439600 due in 0 ms 18:57:19.600: debug : virEventRunOnce:542 : Poll on 7 handles 0x80b5608 timeout 0 18:57:19.600: debug : virEventRunOnce:544 : Poll got 0 event 18:57:19.600: debug : libvirtd_mdns_timeout_dispatch:294 : Dispatch timeout 0x80b2a58 1 18:57:19.600: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with -1 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_update:353 : Update timeout 0x80b2a58 TV (nil) 18:57:19.600: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with -1 ms freq 18:57:19.600: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 2 18:57:19.600: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 3 18:57:19.600: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 4 18:57:19.600: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 5 18:57:19.600: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:57:19.600: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:57:19.601: debug : virEventRunOnce:542 : Poll on 7 handles 0x80b5608 timeout -1 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 11 1 0x80a4470 18:58:21.357: debug : virEventAddHandleImpl:111 : Add handle 15 1 0x8056400 0x80a4470 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.357: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.357: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 15 1 0x80a4470 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.357: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.357: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.357: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.357: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 15 4 0x80a4470 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.357: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.357: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 15 1 0x80a4470 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.357: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.357: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.357: debug : virConnectOpen:1039 : name=qemu:///system 18:58:21.357: debug : do_open:909 : name "qemu:///system" to URI components: scheme qemu opaque (null) authority (null) server (null) user (null) port 0 path /system 18:58:21.357: debug : do_open:919 : trying driver 0 (Test) ... 18:58:21.357: debug : do_open:925 : driver 0 Test returned DECLINED 18:58:21.357: debug : do_open:919 : trying driver 1 (Xen) ... 18:58:21.357: debug : do_open:925 : driver 1 Xen returned DECLINED 18:58:21.357: debug : do_open:919 : trying driver 2 (OPENVZ) ... 18:58:21.357: debug : do_open:925 : driver 2 OPENVZ returned DECLINED 18:58:21.357: debug : do_open:919 : trying driver 3 (remote) ... 18:58:21.357: debug : do_open:925 : driver 3 remote returned DECLINED 18:58:21.357: debug : do_open:919 : trying driver 4 (QEMU) ... 18:58:21.357: debug : do_open:925 : driver 4 QEMU returned SUCCESS 18:58:21.357: debug : do_open:945 : network driver 0 Test returned DECLINED 18:58:21.357: debug : do_open:945 : network driver 1 remote returned DECLINED 18:58:21.357: debug : do_open:945 : network driver 2 Network returned SUCCESS 18:58:21.357: debug : do_open:967 : storage driver 0 Test returned DECLINED 18:58:21.357: debug : do_open:967 : storage driver 1 remote returned DECLINED 18:58:21.357: debug : do_open:967 : storage driver 2 storage returned SUCCESS 18:58:21.357: debug : do_open:988 : node driver 0 Test returned DECLINED 18:58:21.357: debug : do_open:988 : node driver 1 remote returned DECLINED 18:58:21.357: debug : do_open:988 : node driver 2 halDeviceMonitor returned DECLINED 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.358: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.358: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.358: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.358: debug : virEventDispatchHandles:425 : Dispatch 15 4 0x80a4470 18:58:21.358: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.358: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.358: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.358: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.358: debug : virEventDispatchHandles:425 : Dispatch 15 1 0x80a4470 18:58:21.358: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.358: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.358: debug : virDrvSupportsFeature:1166 : conn=0x80ab360, feature=3 18:58:21.358: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.358: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.359: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:21.359: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.359: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.359: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.359: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.359: debug : virEventDispatchHandles:425 : Dispatch 15 4 0x80a4470 18:58:21.359: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.359: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.359: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.359: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.359: debug : virEventDispatchHandles:425 : Dispatch 15 1 0x80a4470 18:58:21.359: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.359: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.359: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.359: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.359: debug : virEventDispatchHandles:425 : Dispatch 15 1 0x80a4470 18:58:21.360: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.360: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.360: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.360: debug : virDomainMigratePrepare2:2995 : dconn=0x80ab360, cookie=0xb787e1e8, cookielen=0xb787e1e4, uri_in=(null), uri_out=0xb4f00468,flags=1, dname=(null), bandwidth=0, dom_xml=<domain type='kvm' id='13'> <name>dom1</name> <uuid>d49c09b4-5a1d-f9a3-027d-9c5480f3347d</uuid> <memory>1048576</memory> <currentMemory>524288</currentMemory> <vcpu>4</vcpu> <os> <type arch='i686' machine='pc'>hvm</type> <kernel>/boot/vmlinuz-2.6.29.1-wickie</kernel> <cmdline>root=/dev/vda ro console=tty0 console=ttyS0 clock=pit</cmdline> <boot dev='hd'/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/kvm</emulator> <disk type='block' device='disk'> <source dev='/dev/drbd4'/> <target dev='vda' bus='virtio'/> </disk> <disk type='block' device='disk'> <source dev='/dev/drbd5'/> <target dev='vdb' bus='virtio'/> </disk> <interface type='bridge'> <mac address='54:52:00:0d:b1:fc'/> <source bridge='kvm-br0'/> <model type='virtio'/> </interface> <serial type='pty'> <source path='/dev/pts/6'/> <target port='0'/> </serial> <console type='pty' tty='/dev/pts/6'> <source path='/dev/pts/6'/> <target port='0'/> </console> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='5901' autoport='yes' listen='127.0.0.1' keymap='de'/> </devices> </domain> 18:57:28.953: debug : virEventAddHandleImpl:111 : Add handle 3 1 0x80557d0 0x80a4470 18:57:28.953: debug : virEventAddHandleImpl:111 : Add handle 17 13 0x8057510 0x80a4470 18:57:28.953: debug : virEventAddHandleImpl:111 : Add handle 18 13 0x8057510 0x80a4470 18:57:28.953: debug : virEventAddHandleImpl:111 : Add handle 19 13 0x8057510 0x80a4470 18:57:28.953: debug : libvirtd_mdns_add_group:431 : Adding group 'Virtualization Host wickieB' 18:57:28.953: debug : libvirtd_mdns_add_entry:466 : Adding entry _libvirt._tcp 0 to group Virtualization Host wickieB 18:57:28.953: debug : libvirtd_mdns_start:417 : Starting client 0x80ba888 18:57:28.953: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV (nil) 18:57:28.953: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283448 953716 0 0 18:57:28.953: debug : virEventAddTimeoutImpl:195 : Adding timer 1 with -1 ms freq 18:57:28.953: debug : libvirtd_mdns_watch_new:260 : New handle 0x80b06a8 FD 20 Event 1 18:57:28.953: debug : virEventAddHandleImpl:111 : Add handle 20 1 0x8067310 0x80b06a8 18:57:28.953: debug : libvirtd_mdns_timeout_update:353 : Update timeout 0x80b1980 TV 0xb7af8430 18:57:28.953: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with 0 ms freq 18:57:28.953: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfc18894 18:57:28.953: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283448 953803 1241283473 953794 18:57:28.953: debug : virEventAddTimeoutImpl:195 : Adding timer 2 with 0 ms freq 18:57:28.953: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80b07d0 18:57:28.953: debug : virEventRemoveTimeoutImpl:261 : Remove timer 2 18:57:28.953: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfc18894 18:57:28.953: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283448 953948 1241283473 953940 18:57:28.953: debug : virEventAddTimeoutImpl:195 : Adding timer 3 with 0 ms freq 18:57:28.954: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80a7b08 18:57:28.954: debug : virEventRemoveTimeoutImpl:261 : Remove timer 3 18:57:28.954: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfc18894 18:57:28.954: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283448 954082 1241283473 954074 18:57:28.954: debug : virEventAddTimeoutImpl:195 : Adding timer 4 with 0 ms freq 18:57:28.954: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80a7ca8 18:57:28.954: debug : virEventRemoveTimeoutImpl:261 : Remove timer 4 18:57:28.954: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfc188b4 18:57:28.954: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283448 954215 1241283473 954207 18:57:28.954: debug : virEventAddTimeoutImpl:195 : Adding timer 5 with 0 ms freq 18:57:28.954: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80a7e48 18:57:28.954: debug : virEventRemoveTimeoutImpl:261 : Remove timer 5 18:57:28.954: debug : libvirtd_mdns_client_callback:226 : Client connecting.... 0x80bbea8 18:57:28.954: debug : virEventCalculateTimeout:287 : Calculate expiry of 6 timers 18:57:28.954: debug : virEventCalculateTimeout:293 : Got a timeout scheduled for 1241283448953 18:57:28.954: debug : virEventCalculateTimeout:317 : Timeout at 1241283448953 due in 0 ms 18:57:28.954: debug : virEventRunOnce:542 : Poll on 10 handles 0x80afea0 timeout 0 18:57:28.954: debug : virEventRunOnce:544 : Poll got 0 event 18:57:28.954: debug : libvirtd_mdns_timeout_dispatch:294 : Dispatch timeout 0x80b1980 1 18:57:28.954: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with -1 ms freq 18:57:28.954: debug : libvirtd_mdns_timeout_update:353 : Update timeout 0x80b1980 TV (nil) 18:57:28.954: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with -1 ms freq 18:57:28.954: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 2 18:57:28.954: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 3 18:57:28.954: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 4 18:57:28.954: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 5 18:57:28.954: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:57:28.954: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:57:28.954: debug : virEventRunOnce:542 : Poll on 10 handles 0x80b18d0 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 17 1 0x80a4470 18:58:15.304: debug : virEventAddHandleImpl:111 : Add handle 21 1 0x8056400 0x80a4470 18:58:15.304: debug : virEventAddHandleImpl:115 : Used 10 handle slots, adding 10 more 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virConnectOpen:1039 : name= 18:58:15.304: debug : do_open:911 : no name, allowing driver auto-select 18:58:15.304: debug : do_open:919 : trying driver 0 (Test) ... 18:58:15.304: debug : do_open:925 : driver 0 Test returned DECLINED 18:58:15.304: debug : do_open:919 : trying driver 1 (Xen) ... 18:58:15.304: debug : do_open:925 : driver 1 Xen returned DECLINED 18:58:15.304: debug : do_open:919 : trying driver 2 (OPENVZ) ... 18:58:15.304: debug : do_open:925 : driver 2 OPENVZ returned DECLINED 18:58:15.304: debug : do_open:919 : trying driver 3 (remote) ... 18:58:15.304: debug : do_open:925 : driver 3 remote returned DECLINED 18:58:15.304: debug : do_open:919 : trying driver 4 (QEMU) ... 18:58:15.304: debug : do_open:925 : driver 4 QEMU returned SUCCESS 18:58:15.304: debug : do_open:945 : network driver 0 Test returned DECLINED 18:58:15.304: debug : do_open:945 : network driver 1 remote returned DECLINED 18:58:15.304: debug : do_open:945 : network driver 2 Network returned SUCCESS 18:58:15.304: debug : do_open:967 : storage driver 0 Test returned DECLINED 18:58:15.304: debug : do_open:967 : storage driver 1 remote returned DECLINED 18:58:15.304: debug : do_open:967 : storage driver 2 storage returned SUCCESS 18:58:15.304: debug : do_open:988 : node driver 0 Test returned DECLINED 18:58:15.304: debug : do_open:988 : node driver 1 remote returned DECLINED 18:58:15.304: debug : do_open:988 : node driver 2 halDeviceMonitor returned DECLINED 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virConnectGetURI:1315 : conn=0x80b0778 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.305: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.305: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.305: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.305: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.305: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.305: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virDomainLookupByName:1705 : conn=0x80b0778, name=dom1 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.305: debug : virGetDomain:271 : New hash entry 0x80bad68 18:58:15.305: debug : virDomainFree:1793 : domain=0x80bad68 18:58:15.305: debug : virUnrefDomain:345 : unref domain 0x80bad68 dom1 1 18:58:15.305: debug : virReleaseDomain:303 : release domain 0x80bad68 dom1 18:58:15.305: debug : virReleaseDomain:315 : unref connection 0x80b0778 2 18:58:15.305: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.305: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.305: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.305: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.968: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.968: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:18.968: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.968: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.968: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.968: debug : virDrvSupportsFeature:1166 : conn=0x80b0778, feature=1 18:58:18.968: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.968: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:18.968: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.968: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virDrvSupportsFeature:1166 : conn=0x80b0778, feature=3 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virGetDomain:271 : New hash entry 0x80bc7c0 18:58:18.969: debug : virDomainGetXMLDesc:2602 : domain=0x80bc7c0, flags=1 18:58:18.969: debug : qemudDomainGetMemoryBalloon:2469 : balloon reply: 'QEMU 0.10.0 ' 18:58:18.969: debug : virDomainFree:1793 : domain=0x80bc7c0 18:58:18.969: debug : virUnrefDomain:345 : unref domain 0x80bc7c0 dom1 1 18:58:18.969: debug : virReleaseDomain:303 : release domain 0x80bc7c0 dom1 18:58:18.969: debug : virReleaseDomain:315 : unref connection 0x80b0778 2 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.970: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:33.560: debug : virEventRunOnce:544 : Poll got 1 event 18:58:33.560: debug : virEventDispatchHandles:425 : Dispatch 21 17 0x80a4470 18:58:33.560: debug : virEventRemoveHandleImpl:165 : Remove handle 10 18:58:33.560: debug : virEventRemoveHandleImpl:172 : mark delete 10 21 18:58:33.560: debug : qemudDispatchClientFailure:1404 : Deregistering to relay remote events 18:58:33.560: debug : virConnectDomainEventDeregister:7551 : conn=0x80b0778, cb=0x805ae80 18:58:33.560: debug : virEventRemoveHandleImpl:165 : Remove handle 10 18:58:33.560: debug : qemudDispatchClientFailure:1404 : Deregistering to relay remote events 18:58:33.560: debug : virConnectDomainEventDeregister:7551 : conn=0x80b0778, cb=0x805ae80 18:58:33.560: debug : virConnectClose:1107 : conn=0x80b0778 18:58:33.560: debug : virUnrefConnect:210 : unref connection 0x80b0778 1 18:58:33.560: debug : virReleaseConnect:171 : release connection 0x80b0778 18:58:33.560: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:33.560: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:33.560: debug : virEventRunOnce:542 : Poll on 10 handles 0x80afea0 timeout -1 -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

On Sat, May 02, 2009 at 10:25:03PM +0300, Zvi Dubitzky wrote:
BTW: I used the --live flag now . In the past I did not use it . This flag is not documented under virsh help. Is it needed or the migration is always live ?
It's here for me: paphio:~/libvirt -> virsh help migrate NAME migrate - migrate domain to another host SYNOPSIS migrate [--live] <domain> <desturi> [<migrateuri>] [<dname>] DESCRIPTION Migrate domain to another host. Add --live for live migration. OPTIONS --live live migration [...] Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

I forgot to mention: The kernel I used is newer : 2.6.27-7 (generic and server) . The kvm is : kvm-84 and libvirt - 0.6.1 Zvi Dubitzky Virtualization and System Architecture Email:dubi@il.ibm.com IBM Haifa Research Laboratory Phone: +972-4-8296182 Haifa, 31905, ISRAEL jens <jens@gis.de> Sent by: libvir-list-bounces@redhat.com 02/05/2009 20:48 To libvir-list@redhat.com cc Subject [libvirt] migration fails Hello, I tried to migrate a kvm domain to a second identical machine with the command: virsh migrate --live dom1 qemu+ssh://second.machine.org/system which leads me to an unresponsive virsh on the second machine - 'virsh list' just takes forever and qemu wasn't started (the domain was not migrated), finally I have to kill libvirtd on the second machine. Because I'm new to libvirt I searched the web to find a solution for this behavior but without success. Please can someone on the list point me to the right direction how I can use libvirt to migrate kvm domains? I use kernel 2.6.29.1 and kvm-85 with libvirt 0.6.2 on an debian unstable system. Attached are debug logs generated by the source- and destination-machine. Thank you very much Jens 18:57:19.599: debug : virEventAddHandleImpl:111 : Add handle 3 1 0x80557d0 0x80a4470 18:57:19.599: debug : virEventAddHandleImpl:111 : Add handle 11 13 0x8057510 0x80a4470 18:57:19.599: debug : virEventAddHandleImpl:111 : Add handle 12 13 0x8057510 0x80a4470 18:57:19.599: debug : virEventAddHandleImpl:111 : Add handle 13 13 0x8057510 0x80a4470 18:57:19.599: debug : libvirtd_mdns_add_group:431 : Adding group 'Virtualization Host wickieA' 18:57:19.599: debug : libvirtd_mdns_add_entry:466 : Adding entry _libvirt._tcp 0 to group Virtualization Host wickieA 18:57:19.599: debug : libvirtd_mdns_start:417 : Starting client 0x80b2910 18:57:19.600: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV (nil) 18:57:19.600: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283439 600200 0 0 18:57:19.600: debug : virEventAddTimeoutImpl:195 : Adding timer 1 with -1 ms freq 18:57:19.600: debug : libvirtd_mdns_watch_new:260 : New handle 0x80b5648 FD 14 Event 1 18:57:19.600: debug : virEventAddHandleImpl:111 : Add handle 14 1 0x8067310 0x80b5648 18:57:19.600: debug : libvirtd_mdns_timeout_update:353 : Update timeout 0x80b2a58 TV 0xb7bf2430 18:57:19.600: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with 0 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfb14fa4 18:57:19.600: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283439 600286 1241283464 600277 18:57:19.600: debug : virEventAddTimeoutImpl:195 : Adding timer 2 with 0 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80aa780 18:57:19.600: debug : virEventRemoveTimeoutImpl:261 : Remove timer 2 18:57:19.600: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfb14fa4 18:57:19.600: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283439 600434 1241283464 600426 18:57:19.600: debug : virEventAddTimeoutImpl:195 : Adding timer 3 with 0 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80aaac0 18:57:19.600: debug : virEventRemoveTimeoutImpl:261 : Remove timer 3 18:57:19.600: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfb14fa4 18:57:19.600: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283439 600570 1241283464 600562 18:57:19.600: debug : virEventAddTimeoutImpl:195 : Adding timer 4 with 0 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80aac60 18:57:19.600: debug : virEventRemoveTimeoutImpl:261 : Remove timer 4 18:57:19.600: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfb14fc4 18:57:19.600: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283439 600703 1241283464 600696 18:57:19.600: debug : virEventAddTimeoutImpl:195 : Adding timer 5 with 0 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80aae00 18:57:19.600: debug : virEventRemoveTimeoutImpl:261 : Remove timer 5 18:57:19.600: debug : libvirtd_mdns_client_callback:226 : Client connecting.... 0x80b25e0 18:57:19.600: debug : virEventCalculateTimeout:287 : Calculate expiry of 6 timers 18:57:19.600: debug : virEventCalculateTimeout:293 : Got a timeout scheduled for 1241283439600 18:57:19.600: debug : virEventCalculateTimeout:317 : Timeout at 1241283439600 due in 0 ms 18:57:19.600: debug : virEventRunOnce:542 : Poll on 7 handles 0x80b5608 timeout 0 18:57:19.600: debug : virEventRunOnce:544 : Poll got 0 event 18:57:19.600: debug : libvirtd_mdns_timeout_dispatch:294 : Dispatch timeout 0x80b2a58 1 18:57:19.600: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with -1 ms freq 18:57:19.600: debug : libvirtd_mdns_timeout_update:353 : Update timeout 0x80b2a58 TV (nil) 18:57:19.600: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with -1 ms freq 18:57:19.600: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 2 18:57:19.600: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 3 18:57:19.600: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 4 18:57:19.600: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 5 18:57:19.600: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:57:19.600: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:57:19.601: debug : virEventRunOnce:542 : Poll on 7 handles 0x80b5608 timeout -1 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 11 1 0x80a4470 18:58:21.357: debug : virEventAddHandleImpl:111 : Add handle 15 1 0x8056400 0x80a4470 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.357: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.357: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 15 1 0x80a4470 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.357: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.357: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.357: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.357: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 15 4 0x80a4470 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.357: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.357: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 15 1 0x80a4470 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.357: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.357: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.357: debug : virConnectOpen:1039 : name=qemu:///system 18:58:21.357: debug : do_open:909 : name "qemu:///system" to URI components: scheme qemu opaque (null) authority (null) server (null) user (null) port 0 path /system 18:58:21.357: debug : do_open:919 : trying driver 0 (Test) ... 18:58:21.357: debug : do_open:925 : driver 0 Test returned DECLINED 18:58:21.357: debug : do_open:919 : trying driver 1 (Xen) ... 18:58:21.357: debug : do_open:925 : driver 1 Xen returned DECLINED 18:58:21.357: debug : do_open:919 : trying driver 2 (OPENVZ) ... 18:58:21.357: debug : do_open:925 : driver 2 OPENVZ returned DECLINED 18:58:21.357: debug : do_open:919 : trying driver 3 (remote) ... 18:58:21.357: debug : do_open:925 : driver 3 remote returned DECLINED 18:58:21.357: debug : do_open:919 : trying driver 4 (QEMU) ... 18:58:21.357: debug : do_open:925 : driver 4 QEMU returned SUCCESS 18:58:21.357: debug : do_open:945 : network driver 0 Test returned DECLINED 18:58:21.357: debug : do_open:945 : network driver 1 remote returned DECLINED 18:58:21.357: debug : do_open:945 : network driver 2 Network returned SUCCESS 18:58:21.357: debug : do_open:967 : storage driver 0 Test returned DECLINED 18:58:21.357: debug : do_open:967 : storage driver 1 remote returned DECLINED 18:58:21.357: debug : do_open:967 : storage driver 2 storage returned SUCCESS 18:58:21.357: debug : do_open:988 : node driver 0 Test returned DECLINED 18:58:21.357: debug : do_open:988 : node driver 1 remote returned DECLINED 18:58:21.357: debug : do_open:988 : node driver 2 halDeviceMonitor returned DECLINED 18:58:21.357: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.357: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:21.357: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.358: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.358: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.358: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.358: debug : virEventDispatchHandles:425 : Dispatch 15 4 0x80a4470 18:58:21.358: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.358: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.358: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.358: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.358: debug : virEventDispatchHandles:425 : Dispatch 15 1 0x80a4470 18:58:21.358: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.358: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.358: debug : virDrvSupportsFeature:1166 : conn=0x80ab360, feature=3 18:58:21.358: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.358: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.359: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:21.359: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.359: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.359: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.359: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.359: debug : virEventDispatchHandles:425 : Dispatch 15 4 0x80a4470 18:58:21.359: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.359: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.359: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.359: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.359: debug : virEventDispatchHandles:425 : Dispatch 15 1 0x80a4470 18:58:21.359: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.359: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.359: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.359: debug : virEventRunOnce:544 : Poll got 1 event 18:58:21.359: debug : virEventDispatchHandles:425 : Dispatch 15 1 0x80a4470 18:58:21.360: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:21.360: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:21.360: debug : virEventRunOnce:542 : Poll on 8 handles 0x80b5590 timeout -1 18:58:21.360: debug : virDomainMigratePrepare2:2995 : dconn=0x80ab360, cookie=0xb787e1e8, cookielen=0xb787e1e4, uri_in=(null), uri_out=0xb4f00468,flags=1, dname=(null), bandwidth=0, dom_xml=<domain type='kvm' id='13'> <name>dom1</name> <uuid>d49c09b4-5a1d-f9a3-027d-9c5480f3347d</uuid> <memory>1048576</memory> <currentMemory>524288</currentMemory> <vcpu>4</vcpu> <os> <type arch='i686' machine='pc'>hvm</type> <kernel>/boot/vmlinuz-2.6.29.1-wickie</kernel> <cmdline>root=/dev/vda ro console=tty0 console=ttyS0 clock=pit</cmdline> <boot dev='hd'/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/kvm</emulator> <disk type='block' device='disk'> <source dev='/dev/drbd4'/> <target dev='vda' bus='virtio'/> </disk> <disk type='block' device='disk'> <source dev='/dev/drbd5'/> <target dev='vdb' bus='virtio'/> </disk> <interface type='bridge'> <mac address='54:52:00:0d:b1:fc'/> <source bridge='kvm-br0'/> <model type='virtio'/> </interface> <serial type='pty'> <source path='/dev/pts/6'/> <target port='0'/> </serial> <console type='pty' tty='/dev/pts/6'> <source path='/dev/pts/6'/> <target port='0'/> </console> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='5901' autoport='yes' listen='127.0.0.1' keymap='de'/> </devices> </domain> 18:57:28.953: debug : virEventAddHandleImpl:111 : Add handle 3 1 0x80557d0 0x80a4470 18:57:28.953: debug : virEventAddHandleImpl:111 : Add handle 17 13 0x8057510 0x80a4470 18:57:28.953: debug : virEventAddHandleImpl:111 : Add handle 18 13 0x8057510 0x80a4470 18:57:28.953: debug : virEventAddHandleImpl:111 : Add handle 19 13 0x8057510 0x80a4470 18:57:28.953: debug : libvirtd_mdns_add_group:431 : Adding group 'Virtualization Host wickieB' 18:57:28.953: debug : libvirtd_mdns_add_entry:466 : Adding entry _libvirt._tcp 0 to group Virtualization Host wickieB 18:57:28.953: debug : libvirtd_mdns_start:417 : Starting client 0x80ba888 18:57:28.953: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV (nil) 18:57:28.953: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283448 953716 0 0 18:57:28.953: debug : virEventAddTimeoutImpl:195 : Adding timer 1 with -1 ms freq 18:57:28.953: debug : libvirtd_mdns_watch_new:260 : New handle 0x80b06a8 FD 20 Event 1 18:57:28.953: debug : virEventAddHandleImpl:111 : Add handle 20 1 0x8067310 0x80b06a8 18:57:28.953: debug : libvirtd_mdns_timeout_update:353 : Update timeout 0x80b1980 TV 0xb7af8430 18:57:28.953: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with 0 ms freq 18:57:28.953: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfc18894 18:57:28.953: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283448 953803 1241283473 953794 18:57:28.953: debug : virEventAddTimeoutImpl:195 : Adding timer 2 with 0 ms freq 18:57:28.953: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80b07d0 18:57:28.953: debug : virEventRemoveTimeoutImpl:261 : Remove timer 2 18:57:28.953: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfc18894 18:57:28.953: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283448 953948 1241283473 953940 18:57:28.953: debug : virEventAddTimeoutImpl:195 : Adding timer 3 with 0 ms freq 18:57:28.954: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80a7b08 18:57:28.954: debug : virEventRemoveTimeoutImpl:261 : Remove timer 3 18:57:28.954: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfc18894 18:57:28.954: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283448 954082 1241283473 954074 18:57:28.954: debug : virEventAddTimeoutImpl:195 : Adding timer 4 with 0 ms freq 18:57:28.954: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80a7ca8 18:57:28.954: debug : virEventRemoveTimeoutImpl:261 : Remove timer 4 18:57:28.954: debug : libvirtd_mdns_timeout_new:312 : Add timeout TV 0xbfc188b4 18:57:28.954: debug : libvirtd_mdns_timeout_new:323 : Trigger timed for 1241283448 954215 1241283473 954207 18:57:28.954: debug : virEventAddTimeoutImpl:195 : Adding timer 5 with 0 ms freq 18:57:28.954: debug : libvirtd_mdns_timeout_free:374 : Free timeout 0x80a7e48 18:57:28.954: debug : virEventRemoveTimeoutImpl:261 : Remove timer 5 18:57:28.954: debug : libvirtd_mdns_client_callback:226 : Client connecting.... 0x80bbea8 18:57:28.954: debug : virEventCalculateTimeout:287 : Calculate expiry of 6 timers 18:57:28.954: debug : virEventCalculateTimeout:293 : Got a timeout scheduled for 1241283448953 18:57:28.954: debug : virEventCalculateTimeout:317 : Timeout at 1241283448953 due in 0 ms 18:57:28.954: debug : virEventRunOnce:542 : Poll on 10 handles 0x80afea0 timeout 0 18:57:28.954: debug : virEventRunOnce:544 : Poll got 0 event 18:57:28.954: debug : libvirtd_mdns_timeout_dispatch:294 : Dispatch timeout 0x80b1980 1 18:57:28.954: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with -1 ms freq 18:57:28.954: debug : libvirtd_mdns_timeout_update:353 : Update timeout 0x80b1980 TV (nil) 18:57:28.954: debug : virEventUpdateTimeoutImpl:233 : Updating timer 1 timeout with -1 ms freq 18:57:28.954: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 2 18:57:28.954: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 3 18:57:28.954: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 4 18:57:28.954: debug : virEventCleanupTimeouts:454 : Purging timeout 2 with id 5 18:57:28.954: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:57:28.954: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:57:28.954: debug : virEventRunOnce:542 : Poll on 10 handles 0x80b18d0 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 17 1 0x80a4470 18:58:15.304: debug : virEventAddHandleImpl:111 : Add handle 21 1 0x8056400 0x80a4470 18:58:15.304: debug : virEventAddHandleImpl:115 : Used 10 handle slots, adding 10 more 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virConnectOpen:1039 : name= 18:58:15.304: debug : do_open:911 : no name, allowing driver auto-select 18:58:15.304: debug : do_open:919 : trying driver 0 (Test) ... 18:58:15.304: debug : do_open:925 : driver 0 Test returned DECLINED 18:58:15.304: debug : do_open:919 : trying driver 1 (Xen) ... 18:58:15.304: debug : do_open:925 : driver 1 Xen returned DECLINED 18:58:15.304: debug : do_open:919 : trying driver 2 (OPENVZ) ... 18:58:15.304: debug : do_open:925 : driver 2 OPENVZ returned DECLINED 18:58:15.304: debug : do_open:919 : trying driver 3 (remote) ... 18:58:15.304: debug : do_open:925 : driver 3 remote returned DECLINED 18:58:15.304: debug : do_open:919 : trying driver 4 (QEMU) ... 18:58:15.304: debug : do_open:925 : driver 4 QEMU returned SUCCESS 18:58:15.304: debug : do_open:945 : network driver 0 Test returned DECLINED 18:58:15.304: debug : do_open:945 : network driver 1 remote returned DECLINED 18:58:15.304: debug : do_open:945 : network driver 2 Network returned SUCCESS 18:58:15.304: debug : do_open:967 : storage driver 0 Test returned DECLINED 18:58:15.304: debug : do_open:967 : storage driver 1 remote returned DECLINED 18:58:15.304: debug : do_open:967 : storage driver 2 storage returned SUCCESS 18:58:15.304: debug : do_open:988 : node driver 0 Test returned DECLINED 18:58:15.304: debug : do_open:988 : node driver 1 remote returned DECLINED 18:58:15.304: debug : do_open:988 : node driver 2 halDeviceMonitor returned DECLINED 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:15.304: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.304: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.304: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.304: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.304: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virConnectGetURI:1315 : conn=0x80b0778 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.305: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.305: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.305: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.305: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.305: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.305: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virDomainLookupByName:1705 : conn=0x80b0778, name=dom1 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.305: debug : virGetDomain:271 : New hash entry 0x80bad68 18:58:15.305: debug : virDomainFree:1793 : domain=0x80bad68 18:58:15.305: debug : virUnrefDomain:345 : unref domain 0x80bad68 dom1 1 18:58:15.305: debug : virReleaseDomain:303 : release domain 0x80bad68 dom1 18:58:15.305: debug : virReleaseDomain:315 : unref connection 0x80b0778 2 18:58:15.305: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.305: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:15.305: debug : virEventRunOnce:544 : Poll got 1 event 18:58:15.305: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:15.305: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:15.305: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:15.305: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.968: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.968: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:18.968: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.968: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.968: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.968: debug : virDrvSupportsFeature:1166 : conn=0x80b0778, feature=1 18:58:18.968: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.968: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:18.968: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.968: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virDrvSupportsFeature:1166 : conn=0x80b0778, feature=3 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 21 1 0x80a4470 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virGetDomain:271 : New hash entry 0x80bc7c0 18:58:18.969: debug : virDomainGetXMLDesc:2602 : domain=0x80bc7c0, flags=1 18:58:18.969: debug : qemudDomainGetMemoryBalloon:2469 : balloon reply: 'QEMU 0.10.0 ' 18:58:18.969: debug : virDomainFree:1793 : domain=0x80bc7c0 18:58:18.969: debug : virUnrefDomain:345 : unref domain 0x80bc7c0 dom1 1 18:58:18.969: debug : virReleaseDomain:303 : release domain 0x80bc7c0 dom1 18:58:18.969: debug : virReleaseDomain:315 : unref connection 0x80b0778 2 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 5 1 (nil) 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.969: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:18.969: debug : virEventRunOnce:544 : Poll got 1 event 18:58:18.969: debug : virEventDispatchHandles:425 : Dispatch 21 4 0x80a4470 18:58:18.969: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:18.969: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:18.970: debug : virEventRunOnce:542 : Poll on 11 handles 0x80bc168 timeout -1 18:58:33.560: debug : virEventRunOnce:544 : Poll got 1 event 18:58:33.560: debug : virEventDispatchHandles:425 : Dispatch 21 17 0x80a4470 18:58:33.560: debug : virEventRemoveHandleImpl:165 : Remove handle 10 18:58:33.560: debug : virEventRemoveHandleImpl:172 : mark delete 10 21 18:58:33.560: debug : qemudDispatchClientFailure:1404 : Deregistering to relay remote events 18:58:33.560: debug : virConnectDomainEventDeregister:7551 : conn=0x80b0778, cb=0x805ae80 18:58:33.560: debug : virEventRemoveHandleImpl:165 : Remove handle 10 18:58:33.560: debug : qemudDispatchClientFailure:1404 : Deregistering to relay remote events 18:58:33.560: debug : virConnectDomainEventDeregister:7551 : conn=0x80b0778, cb=0x805ae80 18:58:33.560: debug : virConnectClose:1107 : conn=0x80b0778 18:58:33.560: debug : virUnrefConnect:210 : unref connection 0x80b0778 1 18:58:33.560: debug : virReleaseConnect:171 : release connection 0x80b0778 18:58:33.560: debug : virEventCalculateTimeout:287 : Calculate expiry of 2 timers 18:58:33.560: debug : virEventCalculateTimeout:317 : Timeout at 0 due in -1 ms 18:58:33.560: debug : virEventRunOnce:542 : Poll on 10 handles 0x80afea0 timeout -1 -- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

On Sat, May 02, 2009 at 07:48:50PM +0200, jens wrote:
Hello,
I tried to migrate a kvm domain to a second identical machine with the command: virsh migrate --live dom1 qemu+ssh://second.machine.org/system which leads me to an unresponsive virsh on the second machine - 'virsh list' just takes forever and qemu wasn't started (the domain was not migrated), finally I have to kill libvirtd on the second machine.
Because I'm new to libvirt I searched the web to find a solution for this behavior but without success.
Please can someone on the list point me to the right direction how I can use libvirt to migrate kvm domains?
I use kernel 2.6.29.1 and kvm-85 with libvirt 0.6.2 on an debian unstable system.
Attached are debug logs generated by the source- and destination-machine.
[..snip..]
18:58:18.969: debug : qemudDomainGetMemoryBalloon:2469 : balloon reply: 'QEMU 0.10.0
Does kvm 85 identify as QEMU? If so Daniel's patch to enable migration for QEMU >= 0.10 might help (I don't have any kvm capable system around here) and kvm 84 should work too. Cheers, -- Guido

In my case kvm is just a link to qemu-system-x86_64. Please let me ask another question: do you know if the mentioned patch is already integrated in the cvs repository tree? Thank you very much Jens On 05/03/09 Guido Günther wrote:
Does kvm 85 identify as QEMU? If so Daniel's patch to enable migration for QEMU >= 0.10 might help (I don't have any kvm capable system around here) and kvm 84 should work too.

Hello, unfortunately I have no success with migration using libvirt (cvs version) and Daniel's patch. With kvm 85 I still get an unresponsive libvirtd on the destination host - it makes no difference if I use the '--live' option or not. On 03.05.2009 Guido Günther wrote:
Does kvm 85 identify as QEMU? If so Daniel's patch to enable migration for QEMU >= 0.10 might help
-- jens
participants (5)
-
Daniel Veillard
-
Gerrit Slomma
-
Guido Günther
-
jens
-
Zvi Dubitzky