Received: from eggs.gnu.org ([2001:4830:134:3::10]:47366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuzAK-0007ur-CK for qemu-devel@nongnu.org; Fri, 05 Jul 2013 02:06:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuzAA-0000d1-Vp for qemu-devel@nongnu.org; Fri, 05 Jul 2013 02:06:44 -0400 Received: from indium.canonical.com ([91.189.90.7]:52533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuzAA-0000cr-Nx for qemu-devel@nongnu.org; Fri, 05 Jul 2013 02:06:34 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1UuzAA-0001Di-69 for ; Fri, 05 Jul 2013 06:06:34 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 09C772E807F for ; Fri, 5 Jul 2013 06:06:34 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 05 Jul 2013 05:53:50 -0000 From: chandrashekar shastri Sender: bounces@canonical.com References: <20130619090511.29840.85811.malonedeb@wampee.canonical.com> Message-Id: <20130705055350.4280.53865.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1192499] Re: virsh migration copy-storage-all fails with "Unable to read from monitor: Connection reset by peer" Reply-To: Bug 1192499 <1192499@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Attachment added: "Source Libvirtd logs" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1192499/+attachme= nt/3725330/+files/source_libvirtd.logs -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1192499 Title: virsh migration copy-storage-all fails with "Unable to read from monitor: Connection reset by peer" Status in QEMU: New Status in =E2=80=9Clibvirt=E2=80=9D package in Ubuntu: Invalid Status in =E2=80=9Clibvirt=E2=80=9D package in Fedora: Unknown Bug description: virsh migration copy-storage-all fails with "Unable to read from monitor: Connection reset by peer" and shut downs the guest on the source host. Kernel Version: 3.10.0-rc5+ Libvirt Version: 1.0.6 Qemu Version: 1.5.50 Steps to reproduce the issue: ---------------------------------------- 1. Created the qemu-img create -f qcow2 vm.qcow2 11G on the destination h= ost 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 VM1 qemu+ssh://host-ip/s= ystem tcp://host-ip --verbose --copy-storage-all" 5. It started the copying the storage from souce to destination (conitino= usly 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 got shutdown and migration failed w= ith "Unable to read from monitor: Connection reset by peer" Attached the libvirt debug logs. The debug logs shows : 2013-06-19 08:43:12.253+0000: 4026: debug : virEventPollInterruptLocked:7= 16 : Interrupting 2013-06-19 08:43:12.253+0000: 4026: debug : virEventPollAddTimeout:248 : = EVENT_POLL_ADD_TIMEOUT: timer=3D1 frequency=3D0 cb=3D0x7fe930baa960 opaque= =3D(nil) ff=3D(nil) Note: The virsh live migration works fine with nfs storage from source to= destination and vice versa. With libvirt 1.0.5 and qemu 1.5 also we were facing the same issue, but w= ith that even "Live migration with nfs also was not working". Guest XML: ---------------- VM1 47feb0e1-0c23-9be9-da12-2ead34864de2 4096000 2048000 1 hvm destroy restart restart /usr/local/bin/qemu-system-x86_64