[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen migration fails


  • To: Virajith Jalaparti <virajith.j@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.