I did more tests, but I don't find the problem.
this is a debug I've got setting LIBVIRT_DEBUG=1, I'd appreciate any help.
Regards.
Marcela.
2011/4/4 Marcela Castro León <mcastrol@xxxxxxxxx>
Hello
I'm having problem using migration. I'm working on ubuntu 10.4 and this versions of libvirt and virsh:
virsh # version
Compiled against library: libvir 0.7.5
Using library: libvir 0.7.5
Using API: QEMU 0.7.5
Running hypervisor: QEMU 0.12.3
This is the error.virsh # migrate scompi1 qemu+ssh://rionegro/system
error: Unknown failure
This is the log on the destination, that show that there is no communication problem, but it has a problem starting the guest on destination.
radic@rionegro:~$ sudo cat /var/log/libvirt/qemu/scompi1.log
[sudo] password for radic:
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -S -M pc-0.12 -enable-kvm -m 4096 -smp 4 -name scompi1 -uuid 355123af-b683-9fa6-ca31-10506c9ab9da -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/scompi1.monitor,server,nowait -monitor chardev:monitor -boot c -drive file=/home/radic/mvdata/imagenes/scompi1.img,if=ide,index=0,boot=on,format=raw -drive if=ide,media=cdrom,index=2,format=raw -net nic,macaddr=52:54:00:05:d1:2a,vlan=0,model=virtio,name=virtio.0 -net tap,fd=33,vlan=0,name=tap.0 -chardev pty,id=serial0 -serial chardev:serial0 -parallel none -usb -vnc 127.0.0.1:0 -vga cirrus -incoming tcp:0.0.0.0:49153
char device redirected to /dev/pts/1LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -S -M pc-0.12 -enable-kvm -m 4096 -smp 4 -name scompi1 -uuid 355123af-b683-9fa6-ca31-10506c9ab9da -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/scompi1.monitor,server,nowait -monitor chardev:monitor -boot c -drive file=/home/radic/mvdata/imagenes/scompi1.img,if=ide,index=0,boot=on,format=raw -drive if=ide,media=cdrom,index=2,format=raw -net nic,macaddr=52:54:00:05:d1:2a,vlan=0,model=virtio,name=virtio.0 -net tap,fd=33,vlan=0,name=tap.0 -chardev pty,id=serial0 -serial chardev:serial0 -parallel none -usb -vnc 127.0.0.1:0 -vga cirrus -incoming tcp:0.0.0.0:49154
char device redirected to /dev/pts/2
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -S -M pc-0.12 -enable-kvm -m 4096 -smp 4 -name scompi1 -uuid 355123af-b683-9fa6-ca31-10506c9ab9da -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/scompi1.monitor,server,nowait -monitor chardev:monitor -boot c -drive file=/home/radic/mvdata/imagenes/scompi1.img,if=ide,index=0,boot=on,format=raw -drive if=ide,media=cdrom,index=2,format=raw -net nic,macaddr=52:54:00:05:d1:2a,vlan=0,model=virtio,name=virtio.0 -net tap,fd=33,vlan=0,name=tap.0 -chardev pty,id=serial0 -serial chardev:serial0 -parallel none -usb -vnc 127.0.0.1:0 -vga cirrus -incoming tcp:0.0.0.0:49155
char device redirected to /dev/pts/2
I'm attaching the xml of the scompi1 that i'm trying to migrate.
I'd apprciate a lot any help.
Marcela
6:18:26.282: debug : virInitialize:336 : register drivers 16:18:26.283: debug : virRegisterDriver:837 : registering Test as driver 0 16:18:26.283: debug : virRegisterNetworkDriver:675 : registering Test as network driver 0 16:18:26.283: debug : virRegisterInterfaceDriver:706 : registering Test as interface driver 0 16:18:26.283: debug : virRegisterStorageDriver:737 : registering Test as storage driver 0 16:18:26.283: debug : virRegisterDeviceMonitor:768 : registering Test as device driver 0 16:18:26.283: debug : virRegisterSecretDriver:799 : registering Test as secret driver 0 16:18:26.283: debug : virRegisterDriver:837 : registering Xen as driver 1 16:18:26.283: debug : virRegisterDriver:837 : registering OPENVZ as driver 2 16:18:26.283: debug : vboxRegister:109 : VBoxCGlueInit failed, using dummy driver 16:18:26.283: debug : virRegisterDriver:837 : registering VBOX as driver 3 16:18:26.283: debug : virRegisterNetworkDriver:675 : registering VBOX as network driver 1 16:18:26.283: debug : virRegisterStorageDriver:737 : registering VBOX as storage driver 1 16:18:26.283: debug : virRegisterDriver:837 : registering remote as driver 4 16:18:26.283: debug : virRegisterNetworkDriver:675 : registering remote as network driver 2 16:18:26.283: debug : virRegisterInterfaceDriver:706 : registering remote as interface driver 1 16:18:26.283: debug : virRegisterStorageDriver:737 : registering remote as storage driver 2 16:18:26.283: debug : virRegisterDeviceMonitor:768 : registering remote as device driver 1 16:18:26.283: debug : virRegisterSecretDriver:799 : registering remote as secret driver 1 16:18:26.283: debug : virConnectOpenAuth:1337 : name=qemu+ssh://santacruz/system, auth=0x7fe55001fb80, flags=0 16:18:26.283: debug : do_open:1106 : name "qemu+ssh://santacruz/system" to URI components: scheme qemu+ssh opaque (null) authority (null) server santacruz user (null) port 0 path /system 16:18:26.283: debug : do_open:1116 : trying driver 0 (Test) ... 16:18:26.283: debug : do_open:1122 : driver 0 Test returned DECLINED 16:18:26.283: debug : do_open:1116 : trying driver 1 (Xen) ... 16:18:26.283: debug : do_open:1122 : driver 1 Xen returned DECLINED 16:18:26.283: debug : do_open:1116 : trying driver 2 (OPENVZ) ... 16:18:26.283: debug : do_open:1122 : driver 2 OPENVZ returned DECLINED 16:18:26.283: debug : do_open:1116 : trying driver 3 (VBOX) ... 16:18:26.283: debug : do_open:1122 : driver 3 VBOX returned DECLINED 16:18:26.283: debug : do_open:1116 : trying driver 4 (remote) ... 16:18:26.283: debug : doRemoteOpen:564 : proceeding with name = qemu:///system 16:18:26.283: debug : virExecWithHook:620 : ssh santacruz nc -q 2>&1 | grep -q 'requires an argument';if [ $? -eq 0 ] ; then CMD='-q 0';else CMD='';fi;nc $CMD -U /var/run/libvirt/libvirt-sock 16:18:26.284: debug : remoteIO:8455 : Do proc=66 serial=0 length=28 wait=(nil) 16:18:26.284: debug : remoteIO:8517 : We have the buck 66 0x7fe550272010 0x7fe550272010 16:18:26.662: debug : remoteIODecodeMessageLength:7939 : Got length, now need 64 total (60 more) 16:18:26.662: debug : remoteIOEventLoop:8381 : Giving up the buck 66 0x7fe550272010 (nil) 16:18:26.662: debug : remoteIO:8548 : All done with our call 66 (nil) 0x7fe550272010 16:18:26.662: debug : remoteIO:8455 : Do proc=1 serial=1 length=56 wait=(nil) 16:18:26.662: debug : remoteIO:8517 : We have the buck 1 0x1430830 0x1430830 16:18:26.663: debug : remoteIODecodeMessageLength:7939 : Got length, now need 56 total (52 more) 16:18:26.663: debug : remoteIOEventLoop:8381 : Giving up the buck 1 0x1430830 (nil) 16:18:26.663: debug : remoteIO:8548 : All done with our call 1 (nil) 0x1430830 16:18:26.663: debug : doRemoteOpen:917 : Adding Handler for remote events 16:18:26.663: debug : doRemoteOpen:924 : virEventAddHandle failed: No addHandleImpl defined. continuing without events. 16:18:26.663: debug : do_open:1122 : driver 4 remote returned SUCCESS 16:18:26.663: debug : do_open:1142 : network driver 0 Test returned DECLINED 16:18:26.663: debug : do_open:1142 : network driver 1 VBOX returned DECLINED 16:18:26.663: debug : do_open:1142 : network driver 2 remote returned SUCCESS 16:18:26.663: debug : do_open:1161 : interface driver 0 Test returned DECLINED 16:18:26.663: debug : do_open:1161 : interface driver 1 remote returned SUCCESS 16:18:26.663: debug : do_open:1181 : storage driver 0 Test returned DECLINED 16:18:26.663: debug : do_open:1181 : storage driver 1 VBOX returned DECLINED 16:18:26.663: debug : do_open:1181 : storage driver 2 remote returned SUCCESS 16:18:26.663: debug : do_open:1201 : node driver 0 Test returned DECLINED 16:18:26.663: debug : do_open:1201 : node driver 1 remote returned SUCCESS 16:18:26.663: debug : do_open:1228 : secret driver 0 Test returned DECLINED 16:18:26.663: debug : do_open:1228 : secret driver 1 remote returned SUCCESS 16:18:26.663: debug : virDomainLookupByName:1974 : conn=0x142ad00, name=scmpich1 16:18:26.663: debug : remoteIO:8455 : Do proc=23 serial=2 length=40 wait=(nil) 16:18:26.663: debug : remoteIO:8517 : We have the buck 23 0x1430830 0x1430830 16:18:26.664: debug : remoteIODecodeMessageLength:7939 : Got length, now need 204 total (200 more) 16:18:26.664: debug : remoteIOEventLoop:8381 : Giving up the buck 23 0x1430830 (nil) 16:18:26.664: debug : remoteIO:8548 : All done with our call 23 (nil) 0x1430830 error: failed to get domain 'scmpich1' error: Domain not found: no domain with matching name 'scmpich1' 16:18:26.665: debug : virConnectClose:1355 : conn=0x142ad00 16:18:26.665: debug : virUnrefConnect:259 : unref connection 0x142ad00 1 16:18:26.665: debug : remoteIO:8455 : Do proc=2 serial=3 length=28 wait=(nil) 16:18:26.665: debug : remoteIO:8517 : We have the buck 2 0x1430830 0x1430830 16:18:26.666: debug : remoteIODecodeMessageLength:7939 : Got length, now need 56 total (52 more) 16:18:26.666: debug : remoteIOEventLoop:8381 : Giving up the buck 2 0x1430830 (nil) 16:18:26.666: debug : remoteIO:8548 : All done with our call 2 (nil) 0x1430830 16:18:26.667: debug : virReleaseConnect:216 : release connection 0x142ad00
6:14:58.414: debug : virInitialize:336 : register drivers 16:14:58.414: debug : virRegisterDriver:837 : registering Test as driver 0 16:14:58.414: debug : virRegisterNetworkDriver:675 : registering Test as network driver 0 16:14:58.414: debug : virRegisterInterfaceDriver:706 : registering Test as interface driver 0 16:14:58.414: debug : virRegisterStorageDriver:737 : registering Test as storage driver 0 16:14:58.414: debug : virRegisterDeviceMonitor:768 : registering Test as device driver 0 16:14:58.414: debug : virRegisterSecretDriver:799 : registering Test as secret driver 0 16:14:58.414: debug : virRegisterDriver:837 : registering Xen as driver 1 16:14:58.414: debug : virRegisterDriver:837 : registering OPENVZ as driver 2 16:14:58.415: debug : vboxRegister:109 : VBoxCGlueInit failed, using dummy driver 16:14:58.415: debug : virRegisterDriver:837 : registering VBOX as driver 3 16:14:58.415: debug : virRegisterNetworkDriver:675 : registering VBOX as network driver 1 16:14:58.415: debug : virRegisterStorageDriver:737 : registering VBOX as storage driver 1 16:14:58.415: debug : virRegisterDriver:837 : registering remote as driver 4 16:14:58.415: debug : virRegisterNetworkDriver:675 : registering remote as network driver 2 16:14:58.415: debug : virRegisterInterfaceDriver:706 : registering remote as interface driver 1 16:14:58.415: debug : virRegisterStorageDriver:737 : registering remote as storage driver 2 16:14:58.415: debug : virRegisterDeviceMonitor:768 : registering remote as device driver 1 16:14:58.415: debug : virRegisterSecretDriver:799 : registering remote as secret driver 1 16:14:58.415: debug : virConnectOpenAuth:1337 : name=qemu+ssh://santacruz/system, auth=0x7fcb0494cb80, flags=0 16:14:58.415: debug : do_open:1106 : name "qemu+ssh://santacruz/system" to URI components: scheme qemu+ssh opaque (null) authority (null) server santacruz user (null) port 0 path /system 16:14:58.415: debug : do_open:1116 : trying driver 0 (Test) ... 16:14:58.415: debug : do_open:1122 : driver 0 Test returned DECLINED 16:14:58.415: debug : do_open:1116 : trying driver 1 (Xen) ... 16:14:58.415: debug : do_open:1122 : driver 1 Xen returned DECLINED 16:14:58.415: debug : do_open:1116 : trying driver 2 (OPENVZ) ... 16:14:58.415: debug : do_open:1122 : driver 2 OPENVZ returned DECLINED 16:14:58.415: debug : do_open:1116 : trying driver 3 (VBOX) ... 16:14:58.415: debug : do_open:1122 : driver 3 VBOX returned DECLINED 16:14:58.415: debug : do_open:1116 : trying driver 4 (remote) ... 16:14:58.415: debug : doRemoteOpen:564 : proceeding with name = qemu:///system 16:14:58.415: debug : virExecWithHook:620 : ssh santacruz nc -q 2>&1 | grep -q 'requires an argument';if [ $? -eq 0 ] ; then CMD='-q 0';else CMD='';fi;nc $CMD -U /var/run/libvirt/libvirt-sock 16:14:58.415: debug : remoteIO:8455 : Do proc=66 serial=0 length=28 wait=(nil) 16:14:58.415: debug : remoteIO:8517 : We have the buck 66 0x7fcb04b9f010 0x7fcb04b9f010 16:14:58.779: debug : remoteIODecodeMessageLength:7939 : Got length, now need 64 total (60 more) 16:14:58.779: debug : remoteIOEventLoop:8381 : Giving up the buck 66 0x7fcb04b9f010 (nil) 16:14:58.779: debug : remoteIO:8548 : All done with our call 66 (nil) 0x7fcb04b9f010 16:14:58.780: debug : remoteIO:8455 : Do proc=1 serial=1 length=56 wait=(nil) 16:14:58.780: debug : remoteIO:8517 : We have the buck 1 0x1e35830 0x1e35830 16:14:58.780: debug : remoteIODecodeMessageLength:7939 : Got length, now need 56 total (52 more) 16:14:58.780: debug : remoteIOEventLoop:8381 : Giving up the buck 1 0x1e35830 (nil) 16:14:58.780: debug : remoteIO:8548 : All done with our call 1 (nil) 0x1e35830 16:14:58.780: debug : doRemoteOpen:917 : Adding Handler for remote events 16:14:58.780: debug : doRemoteOpen:924 : virEventAddHandle failed: No addHandleImpl defined. continuing without events. 16:14:58.780: debug : do_open:1122 : driver 4 remote returned SUCCESS 16:14:58.780: debug : do_open:1142 : network driver 0 Test returned DECLINED 16:14:58.780: debug : do_open:1142 : network driver 1 VBOX returned DECLINED 16:14:58.780: debug : do_open:1142 : network driver 2 remote returned SUCCESS 16:14:58.780: debug : do_open:1161 : interface driver 0 Test returned DECLINED 16:14:58.780: debug : do_open:1161 : interface driver 1 remote returned SUCCESS 16:14:58.780: debug : do_open:1181 : storage driver 0 Test returned DECLINED 16:14:58.780: debug : do_open:1181 : storage driver 1 VBOX returned DECLINED 16:14:58.780: debug : do_open:1181 : storage driver 2 remote returned SUCCESS 16:14:58.780: debug : do_open:1201 : node driver 0 Test returned DECLINED 16:14:58.780: debug : do_open:1201 : node driver 1 remote returned SUCCESS 16:14:58.780: debug : do_open:1228 : secret driver 0 Test returned DECLINED 16:14:58.780: debug : do_open:1228 : secret driver 1 remote returned SUCCESS 16:14:58.780: debug : virDomainLookupByName:1974 : conn=0x1e2fd00, name=scmpich1 16:14:58.780: debug : remoteIO:8455 : Do proc=23 serial=2 length=40 wait=(nil) 16:14:58.780: debug : remoteIO:8517 : We have the buck 23 0x1e35830 0x1e35830 16:14:58.781: debug : remoteIODecodeMessageLength:7939 : Got length, now need 204 total (200 more) 16:14:58.781: debug : remoteIOEventLoop:8381 : Giving up the buck 23 0x1e35830 (nil) 16:14:58.781: debug : remoteIO:8548 : All done with our call 23 (nil) 0x1e35830 error: failed to get domain 'scmpich1' error: Domain not found: no domain with matching name 'scmpich1' 16:14:58.783: debug : virConnectClose:1355 : conn=0x1e2fd00 16:14:58.783: debug : virUnrefConnect:259 : unref connection 0x1e2fd00 1 16:14:58.783: debug : remoteIO:8455 : Do proc=2 serial=3 length=28 wait=(nil) 16:14:58.783: debug : remoteIO:8517 : We have the buck 2 0x1e35830 0x1e35830 16:14:58.783: debug : remoteIODecodeMessageLength:7939 : Got length, now need 56 total (52 more) 16:14:58.783: debug : remoteIOEventLoop:8381 : Giving up the buck 2 0x1e35830 (nil) 16:14:58.783: debug : remoteIO:8548 : All done with our call 2 (nil) 0x1e35830 16:14:58.784: debug : virReleaseConnect:216 : release connection 0x1e2fd00
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list