From: Stefan Hajnoczi Subject: Re: KVM live migration i/o error Date: Mon, 23 Mar 2015 10:17:33 +0000 Message-ID: <20150323101733.GA7934@stefanha-thinkpad.redhat.com> References: <20150318155327.GB16618@telecos.upc.edu> <20150320100320.GA4382@stefanha-thinkpad.redhat.com> <20150320113459.GB9070@telecos.upc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Cc: kvm-devel To: Francesc Guasch Return-path: Received: from mail-we0-f178.google.com ([74.125.82.178]:33688 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752093AbbCWKRh (ORCPT ); Mon, 23 Mar 2015 06:17:37 -0400 Received: by weop45 with SMTP id p45so133615936weo.0 for ; Mon, 23 Mar 2015 03:17:36 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20150320113459.GB9070@telecos.upc.edu> Sender: kvm-owner@vger.kernel.org List-ID: --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 20, 2015 at 12:34:59PM +0100, Francesc Guasch wrote: > On Fri, Mar 20, 2015 at 10:03:20AM +0000, Stefan Hajnoczi wrote: >=20 > Hi Stefan, thank you very much for answering me. >=20 > > On Wed, Mar 18, 2015 at 04:53:28PM +0100, Francesc Guasch wrote: > > > I have three Ubuntu Server 14.04 trusty with KVM. Two of > > > them are HP servers and one is Dell. Both brands run fine > > > the KVM virtual servers, and I can do live migration between > > > the HPs. But I get I/O errors in the vda when I migrate to > > > or from the Dell server. > > >=20 > > > I have shared storage with NFS, mounted the same way in all > > > of them: > > >=20 > > > As soon as it starts in the origin console I spot I/O error > > > messages, when it finishes I got them in the console in the > > > destination server. The file system is read only and I have to > > > shut it down hard. > > >=20 > > > end request I/O error, /dev/vda, sector 8790327 > >=20 > > "origin console" =3D=3D guest's console? >=20 > Yes, I mean I open two consoles with virt-manager, one in > the origin host and another one in the destination > >=20 > > I/O errors starting while the guest is still running on the migration > > source host is strange. I wonder if something happened to the NFS file > > related to file permissions or SELinux labels? >=20 > I think I found something checking SELinux. ls -Z and getfattr > return nothing. But ps -eZ showed something very different > in the Dell server. >=20 > This is in the HP server: > /usr/sbin/libvirtd 1034 ? 11:51:44 libvirtd > libvirt-09540b5d-82 701 ? 05:28:40 qemu-system-x86 > unconfined 1 ? 00:01:00 init >=20 > In the Dell server init is confined in lxc and there are also > lxc-start processes. >=20 > /usr/sbin/libvirtd 1622 ? 05:07:07 libvirtd > libvirt-8a0f9087-32d... 29926 ? 00:00:01 qemu-system-x86 > lxc-container-default 1774 ? 00:00:00 init > /usr/bin/lxc-start 1763 ? 00:00:00 lxc-start > =20 > There is also LXC installed in that server ! Maybe that is messing > with kvm. The qemu processes look fine to me but there is a chance > the problem comes from there. >=20 > I could move the LXC somewhere else or I can keep it there to > try to fix this issue. What do you advice I should do now ? I suggest asking on the libvirt mailing list: libvirt-list@redhat.com --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVD+g9AAoJEJykq7OBq3PIdc0H/2yNBqLEIemrPNNZZloZTWJH 4QMGpCNuzj/8ax/X8ReV7sNIEse6PyIPpB8ueOXu+n+VgEOOP5aQotI6UXrIJhxo xhRtz94dCkUkDZyBEeedHMUjH348CtvFBAH7vVJIc8ngHfoV5w+t1rmTFa3oZUxu 1kMTldOjY/xGiF5ZtsUc2sQj6cc7R+xal9WaI5SWEihkQwjUVT/m2d4Y+emkVhq8 Fvud+uyA+agcjwjeA56365c+H7eHQTopX+aUMxh2i2fq9+tIq18yzM1jxQ4SwetD AWdzTr781/nlDa7U+Tm031PM93PYdbjZ16s9zYngHDorYIbDBPEl2Wvo9gvsd+U= =QKo/ -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--