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

[Xen-users] Xen migration fails

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen migration fails
From: Virajith Jalaparti <virajith.j@xxxxxxxxx>
Date: Tue, 12 Apr 2011 16:40:22 -0500
Delivery-date: Tue, 12 Apr 2011 14:49:19 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=9MkXjDZp3f0rSpTVM2D7K09O0ub/Tz01lY9jHVi7CCw=; b=AUkFeRMSTu6PRyl2Der5aEUCZ1r9bOB0K9mYEXqnTEnjIYLqWvKijgpOYUP2DvHy6v DA/2fK8XLNoLTDG3DaoYYJfJVxPHGZTr2xPTWKKELlgf1zATBNYtlFPblj/sQoZVE2gS MnJcWi7idH24eC8tc3uzdw9CuQPSdakdZodBU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=v/tO170bnYBmIJSaIGazEm1IlPJib1qjO6F+eHcDKKm+J2seC3hw+jrWxWqFxTvO4C G+xeGOhdtHhG7qT7/7LwCGr3y+C5HTuMWeQDyaG2g9+kGQJl7RjJ0GjpFqwqONvqQglm g5+NufSZG1S01EPJdFIianG/gxSDywjdsNI8Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.
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
<Prev in Thread] Current Thread [Next in Thread>