Received: from eggs.gnu.org ([2001:4830:134:3::10]:46268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uudjg-00076s-G9 for qemu-devel@nongnu.org; Thu, 04 Jul 2013 03:13:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uudjb-0007JL-0l for qemu-devel@nongnu.org; Thu, 04 Jul 2013 03:13:48 -0400 Received: from indium.canonical.com ([91.189.90.7]:42626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uudja-0007It-Pz for qemu-devel@nongnu.org; Thu, 04 Jul 2013 03:13:42 -0400 Received: from soybean.canonical.com ([91.189.89.57]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Uudja-0001iq-5Q for ; Thu, 04 Jul 2013 07:13:42 +0000 Received: from soybean.canonical.com (localhost [127.0.0.1]) by soybean.canonical.com (Postfix) with ESMTPS id E3D48322025 for ; Thu, 4 Jul 2013 07:13:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 04 Jul 2013 07:13:39 -0000 From: Launchpad Bug Tracker <1192499@bugs.launchpad.net> Sender: bounces@canonical.com References: <20130619090511.29840.85811.malonedeb@wampee.canonical.com> Message-Id: <20130704071340.24342.19957.launchpad@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1192499] [NEW] 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 You have been subscribed to a public bug: 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 hos= t 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/sys= tem tcp://host-ip --verbose --copy-storage-all" 5. It started the copying the storage from souce to destination (conitinous= ly 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 wit= h "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:716= : Interrupting 2013-06-19 08:43:12.253+0000: 4026: debug : virEventPollAddTimeout:248 : EV= ENT_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 d= estination and vice versa. With libvirt 1.0.5 and qemu 1.5 also we were facing the same issue, but wit= h 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