From mboxrd@z Thu Jan 1 00:00:00 1970 From: Smart Weblications GmbH - Florian Wiessner Subject: Re: libvirtd + rbd - stale kvm after migrate Date: Fri, 09 Dec 2011 10:17:08 +0100 Message-ID: <4EE1D214.8030708@smart-weblications.de> References: <4EE0CE19.5060805@smart-weblications.de> Reply-To: f.wiessner@smart-weblications.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mx02.smart-weblications.de ([188.65.144.37]:40004 "EHLO mx02.smart-weblications.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751961Ab1LIJQp (ORCPT ); Fri, 9 Dec 2011 04:16:45 -0500 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: chb@muc.de Cc: ceph-devel@vger.kernel.org Hi Christian, Am 08.12.2011 23:49, schrieb Christian Brunner: >=20 > live migration with rbd images usually works fine. A few recommendati= ons: >=20 > - You should not map the image on the host, while using it in a VM > with the qemu driver. > - For testing I would remove the ISO-Image from your VM. (Not sure if > that matters). >=20 > Also I'm not using cephx authentication. I don't know if the > credentials are available on the second host, as you don't specifiy > them in the libvirt.xml. i now recreated cephfs without authx support, and added host-decription= in the VM xml file. anyway the VM still does not seem to be able to do disk-io when migrate= d... the iso-image should not be a problem, as it is in /ceph which is mount= ed on every node... but i gave it a try and disabled the cdrom in the xml fil= e, still no success... i also found out that using hostnames defined in /etc/hosts won't work.= i still got no clue how to figure out what is going wrong... when i start the V= M directly on the host i want the VM to migrate to, the VM behaves normal= =2E ns1 350e51e8-2fe5-274f-76c4-58b237bc0fba 1048576 524288 2 hvm destroy restart restart /usr/local/bin/qemu-system-x86_64