Received: from eggs.gnu.org ([2001:4830:134:3::10]:35948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpEeu-0006JP-5r for qemu-devel@nongnu.org; Mon, 04 May 2015 07:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpEep-0000J8-06 for qemu-devel@nongnu.org; Mon, 04 May 2015 07:35:36 -0400 Received: from indium.canonical.com ([91.189.90.7]:44050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpEeo-0000J1-EX for qemu-devel@nongnu.org; Mon, 04 May 2015 07:35:30 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1YpEen-0006fx-Lw for ; Mon, 04 May 2015 11:35:29 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 745D72E80C3 for ; Mon, 4 May 2015 11:35:29 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 04 May 2015 11:27:22 -0000 From: Kevin Wolf <1450891@bugs.launchpad.net> Sender: bounces@canonical.com References: <20150501192402.29629.66945.malonedeb@wampee.canonical.com> Message-Id: <20150504112722.29396.63416.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1450891] Re: VM will not resume on GlusterFS Reply-To: Bug 1450891 <1450891@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org We can't just reopen files, we don't know what state they are in. Any data that has been written to the image between the last flush and the point where gluster made the fd invalid may be there or may be missing. If any data is missing, we can't continue the guest or you'll get data corruption. The correct fix for resuming after I/O errors is on gluster. As long as it invalidates the fd, without a way to resume, there is no way for qemu to correctly continue after an error. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1450891 Title: VM will not resume on GlusterFS Status in QEMU: New Bug description: oVirt uses libvirt to run QEMU. Images are passed to QEMU as files, not file descriptors. When running images from a GlusterFS, the file descriptors may get invali= dated because of network problems or the glusterfs process being restarted. In this case, the VM goes into paused state. When trying to resume the VM ('cont' command), QEMU uses the same invalid= ated file descriptors throwing a: "block I/O error in device 'drive-virtio-disk0': Transport endpoint is no= t connected (107)". Please check file-descriptors and reopen image file on 'cont' event in QE= MU. Thanks. References: [1] http://lists.nongnu.org/archive/html/qemu-devel/2015-03/msg01269.html [2] https://bugzilla.redhat.com/show_bug.cgi?id=3D1058300 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1450891/+subscriptions