From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuzR6-0004bg-0i for qemu-devel@nongnu.org; Fri, 05 Jul 2013 02:24:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuzR2-0006AP-Ub for qemu-devel@nongnu.org; Fri, 05 Jul 2013 02:24:03 -0400 Received: from e28smtp05.in.ibm.com ([122.248.162.5]:52757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuzR2-00069s-8R for qemu-devel@nongnu.org; Fri, 05 Jul 2013 02:24:00 -0400 Received: from /spool/local by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 5 Jul 2013 11:48:36 +0530 Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60]) by d28dlp02.in.ibm.com (Postfix) with ESMTP id 31CA33940057 for ; Fri, 5 Jul 2013 11:53:49 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay03.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r656OInD29884520 for ; Fri, 5 Jul 2013 11:54:18 +0530 Received: from d28av02.in.ibm.com (loopback [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r656NoxO009397 for ; Fri, 5 Jul 2013 16:23:50 +1000 Message-ID: <51D66675.5000906@linux.vnet.ibm.com> Date: Fri, 05 Jul 2013 11:53:49 +0530 From: chandrashekar shastri MIME-Version: 1.0 References: <51B95210.9080000@linux.vnet.ibm.com> <20130613084410.GG2633@stefanha-thinkpad.redhat.com> In-Reply-To: <20130613084410.GG2633@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] virsh live migration w/o shared storage fails with error as vm is not running List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: libvir-list@redhat.com, Paolo Bonzini , qemu-devel@nongnu.org On 06/13/2013 02:14 PM, Stefan Hajnoczi wrote: > On Thu, Jun 13, 2013 at 10:31:04AM +0530, chandrashekar shastri wrote: >> We are testing the upstream KVM with : >> >> Kernel, Qemu, Libvirt, Virt-Manager is built from the source (git). >> >> kernel version : 3.9.0+ >> qemu version : QEMU emulator version 1.5.0 >> libvirt version : 1.0.5 >> virt-install : 0.600.3 >> >> I have followed the below steps to test the "Live migration w/o >> shared storage" feature : >> >> 1. Created the qemu-img create -f qcow2 vm.qcow2 12G on the >> destination host which is same as the source. >> 2. Started the guest on the source >> 3. Started the vncdisplay to monitor the guest >> 4. Initiated the migration "virsh migrate --live rhel64-64 >> qemu+ssh://9.126.89.202/system --verbose --copy-storage-all" >> 5. It started the copying the storage from souce to destination >> (conitinously monitored it was growing) >> 6. Guest on the destination was paused and was running on the source >> 7. At some point the VM on the source shutdown and got an error on >> the vnc display as " Viewport: write: Broken pipe (32)" and the >> VM on the destination was undefined. >> >> Below is the libvirt debug log, please let me with your comments. >> >> Debug log: >> -------------- > What about /var/log/libvirt/qemu/rhel64-64.log? That is the QEMU > command-line and stderr log. I have attached all source and destination logs, including the sosreport of both source and destination in the bug. https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1192499 > > Also can you try without copy-storage-all just to see if migration > completes successfully? The guest will act weird once it migrates since > the disk is zeroed but it will isolate the failure to > --copy-storage-all. Without copy-storage-all (meaning with NFS shared storage the migration works fine). > Stefan > Please let me know if you need more info. Thanks, Shastri