From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Hasler Subject: Live Migration fails Date: Tue, 29 Jul 2008 23:16:46 +0200 Message-ID: <488F88BE.1090504@hasware.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.ebmnet.ch ([194.63.151.35]:34021 "HELO mail.ebmnet.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752640AbYG2VX0 (ORCPT ); Tue, 29 Jul 2008 17:23:26 -0400 Received: from [192.168.1.20] (unknown [192.168.1.20]) by mail.hasware.ch (Postfix) with ESMTP id E52157AE4E6 for ; Tue, 29 Jul 2008 23:17:31 +0200 (CEST) Sender: kvm-owner@vger.kernel.org List-ID: Hi all I ran into a problem testing live migration. I have two Identical Dell R200 Intel Boxes with 4G RAM and 2.5Ghz Intel CPUs (Quad-Cores). I identically installed Ubuntu Intrepid Alpha-3 x86_64 (OK - a bit on the bleeding edge, but offers kvm-71 at the moment). As a guest OS I use Ubunte Jeos 8.04.1 i686. I have a iSCSI device, where I have the disk images as raw block devices. ISO-Images for CDs/DVDs are on a NFS share. I use bridged networking and virtio. The two systems are on the same subnet. The QEMU Monitor is used on a socket bound to localhost, the same is true for VNC. I now start the virtual machine to migrate on host A: >/usr/bin/qemu -name vm1 -boot c -M pc -smp 1 -m 512 -monitor tcp:127.0.0.1:4101,server,nowait -vnc 127.0.0.1:1 -net >nic,macaddr=00:16:3e:0c:ed:c1,vlan=0,model=rtl8139 -net tap,script=/home/administrator/my-ifup.sh,vlan=0,ifname=vnet1 -drive >file=/dev/disk/by-path/ip-10.0.1.20:3260-iscsi-iqn.2006-01.com.openfiler:vm1-lun-0,if=ide,index=0 -drive >file=/mnt/iso-images/jeos-8.04.1-jeos-i386.iso,if=ide,media=cdrom,index=2 Wait for the VM to fully boot into the OS. Now, I start the VM in migration-listen mode on host B: >/usr/bin/kvm -S -name vm1 -boot c -M pc -smp 1 -m 512 -monitor tcp:127.0.0.1:4101,server,nowait -vnc 127.0.0.1:1 -net >nic,macaddr=00:16:3e:0c:ed:c1,vlan=0,model=virtio -net tap,script=/home/administrator/my-ifup.sh,vlan=0,ifname=vnet1 -drive >file=/dev/disk/by-path/ip-10.0.1.20:3260-iscsi-iqn.2006-01.com.openfiler:vm1-lun-0,if=ide,index=0,boot=on -drive >file=/mnt/iso-images/jeos-8.04.1-jeos-i386.iso,if=ide,media=cdrom,index=2 -incoming tcp://10.0.1.30:4444 Now, on host A, using telnet, I connect to the QEMU monitor: >telnet localhost 4101 and start the migration > (QEMU) migrate tcp://10.0.1.30:4444 After a while, on host B (the target), I see the following error: >migration: wait_for_go: read error len=0 (Interrupted system call) >Migration failed rc=210 while on host A, I read following error message: >WAIT FOR ACK: timeout reached >Migration failed! ret=0 error=13 I am sure I tried the same scenario on Ubuntu Hardy 8.04 with kvm-62 successfully (on different hardware). I am doing something wrong? Anyone ran in the same issue and maybe has a resolution? I googled for hours by now, but did not find many articles about kvm live migration. Any help is appreciated, Thanks in advance Dani