WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen migration fails

To: Virajith Jalaparti <virajith.j@xxxxxxxxx>
Subject: Re: [Xen-users] Xen migration fails
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Wed, 13 Apr 2011 05:43:06 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 12 Apr 2011 22:44:17 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Xc0gZVcjmFk/LkV5j1wy86nkaoy0vyjegW8FgpwZa7w=; b=BK9wQya4WaoUGSjvVqMAzZuis51TjmFk3rEs1Zh/q5mh6DQB0zZ7oDns9Nh1pw86s3 8qLuf9cDQOqaeU2OWZoE6JZyeAhVfy9ZEJqKJdUT0aBieqI/m/FoJfsPUjArEHalsjZq Mp2JjucOtODKmow0h6A7AeI+KUVuscQUQ9Ac4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=xr4EVgdkY5KHy8PhUi6lHv5gMHp22ngFd5hdwWiEjQj+D2KWkLMjZKa7RSsJUwPvJk vJ8jSs8Fpgez9S8LtAbVhOh78JERfUHze4/FJevqVJIVdImTy+7ase6Hh0XnUhrKviRU Tq5oky8MDObnPWPnBRshhWWC6YkX7tdNROQQM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimVRMpFuiDi81UpnOZCme8mGVKXaA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTimVRMpFuiDi81UpnOZCme8mGVKXaA@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Apr 12, 2011 at 9:40 PM, Virajith Jalaparti
<virajith.j@xxxxxxxxx> wrote:
> Hi,
>
> I have been getting the following error (logged in /var/log/xen/xend.log)
> when I try to migrate a VM from one particular host to the other (the
> reverse migration works fine). My system was working fine for a long time (i
> did several migrations in both the directions). I am using Xen-3.4.3
> (installed from source code) with CentOS 5.4. I am using drbd to replicate
> the disks.
>
> --------------------------------------------------------------------------------
> [2011-04-12 16:22:48,010 16027] ERROR (XendCheckpoint:352) Device 51712
> (vbd) could not be connected.
> Device /dev/drbd4 is mounted in a guest domain,
> and so cannot be mounted now.


It looks like you may be losing access to the drdb block device. Can
you make sure that there is proper access to this device before and
after the migration attempt?

Thanks,
Todd

> Traceback (most recent call last):
>   File "usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line
> 350, in restore
>     dominfo.waitForDevices() # Wait for backends to set up
>   File "usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
> 1069, in waitForDevices
>     self.getDeviceController(devclass).waitForDevices()
>   File "usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py",
> line 140, in waitForDevices
>     return map(self.waitForDevice, self.deviceIDs())
>   File "usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py",
> line 175, in waitForDevice
>     raise VmError("Device %s (%s) could not be connected.\n%s" %
> VmError: Device 51712 (vbd) could not be connected.
> Device /dev/drbd4 is mounted in a guest domain,
> and so cannot be mounted now.
> --------------------------------------------------------------------------------
> The output of mount is:
> # mount
> /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
> proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> /dev/sda1 on /boot type ext3 (rw)
> tmpfs on /dev/shm type tmpfs (rw)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
> none on /var/lib/xenstored type tmpfs (rw)
>
>
>
> Did any one encounter this error before? Searching around, I found some
> work-arounds people have used (using xenstore-rm to remove the link to that
> particular vbd
> http://readlist.com/lists/lists.xensource.com/xen-users/0/4325.html) but
> none of them work for my case. I tried creating a new VM along with a new
> drbd drive but even that VM was encountering this error when I try to
> migrate.
> Any help would be greatly appreciated!!
>
> Thanks,
> Virajith
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>