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] VM migration problem: server 1 to server 2 is ok, but does n

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] VM migration problem: server 1 to server 2 is ok, but does not work if from server 2 to server 1
From: Ming Chen <kingming0811@xxxxxxxxx>
Date: Wed, 20 Jan 2010 11:07:32 -0500
Delivery-date: Wed, 20 Jan 2010 08:08:15 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=3v4s5jtuJjB1/kFNHyoWqdbB5eoza1bAvPkt+Z1+cUk=; b=W/KS8yELnaIalKl9TIiWuH+pYoV+3UjCjUmaRpBJNHndUKSz8ev/Ec93hLBs7WOJIh vFVKosCfuInYwmoTg9EQlvXPvsq+/PCNbEqiXtfrm79+iocx0QrRu/MPpFAPRcC/S+ec 8kfmDbtk3OLEEAxIgEUilHq6dwr3HZtf/zauI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=x3p8lI8TuqdYlRa8XDzdry6r1qdpNqGidkSFmndvCrz6D2nqJwNmKKCV68ZeH6xRu4 GeB1I+6DYzJepGhqzdUXXdzJDtVc5rIfeF3xcw4Zh39C2kYS4A40sNgDHV3N8L32EUuF aJLy+mIETge7ZO5hb4FWPEDssdAP96iGIxpvY=
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
Hello,

I have a problem of migration between two servers.

Both servers use xen 3.3.1 which is compiled on fc7. I used one single VM. If I create VM on server 1, and migrate it from server 1 to server 2 is OK, and it is also OK to migrate it back to server 1.  However, if I create the VM on server 2 and migrate it to server 1, the VM always disappears. When it fails, the log message on server 1 is as follows:

[2010-01-20 10:39:18 12474] DEBUG (XendCheckpoint:264) [xc_restore]: /usr/lib/xen/bin/xc_restore 34 29 1 2 0 0 0
[2010-01-20 10:39:18 12474] INFO (XendCheckpoint:403) xc_domain_restore start: p2m_size = 10800
[2010-01-20 10:39:18 12474] INFO (XendCheckpoint:403) Reloading memory pages:   0%
[2010-01-20 10:39:44 12474] INFO (XendCheckpoint:403) Received all pages (0 races)
[2010-01-20 10:39:44 12474] INFO (XendCheckpoint:403) ERROR Internal error: Failed to pin batch of 47 page tables
[2010-01-20 10:39:44 12474] INFO (XendCheckpoint:403) Restore exit with rc=1
[2010-01-20 10:39:44 12474] DEBUG (XendDomainInfo:2402) XendDomainInfo.destroy: domid=29
[2010-01-20 10:39:44 12474] ERROR (XendDomainInfo:2416) XendDomainInfo.destroy: domain destruction failed.
Traceback (most recent call last):
  File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 2409, in destroy
    xc.domain_pause(self.domid)
Error: (3, 'No such process')
[2010-01-20 10:39:44 12474] DEBUG (XendDomainInfo:1944) No device model
[2010-01-20 10:39:44 12474] DEBUG (XendDomainInfo:1946) Releasing devices
[2010-01-20 10:39:44 12474] DEBUG (XendDomainInfo:1959) Removing vif/0
[2010-01-20 10:39:44 12474] DEBUG (XendDomainInfo:910) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0
[2010-01-20 10:39:45 12474] DEBUG (XendDomainInfo:1959) Removing vbd/51713
[2010-01-20 10:39:45 12474] DEBUG (XendDomainInfo:910) XendDomainInfo.destroyDevice: deviceClass = tap, device = vbd/51713
[2010-01-20 10:39:45 12474] DEBUG (XendDomainInfo:1959) Removing vbd/51714
[2010-01-20 10:39:45 12474] DEBUG (XendDomainInfo:910) XendDomainInfo.destroyDevice: deviceClass = tap, device = vbd/51714
[2010-01-20 10:39:45 12474] DEBUG (XendDomainInfo:1959) Removing console/0
[2010-01-20 10:39:45 12474] DEBUG (XendDomainInfo:910) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2010-01-20 10:39:46 12474] ERROR (XendDomain:1145) Restore failed
Traceback (most recent call last):
  File "//usr/lib/python/xen/xend/XendDomain.py", line 1143, in domain_restore_fd
    return XendCheckpoint.restore(self, fd, paused=paused, relocating=relocating)
  File "//usr/lib/python/xen/xend/XendCheckpoint.py", line 268, in restore
    forkHelper(cmd, fd, handler.handler, True)
  File "//usr/lib/python/xen/xend/XendCheckpoint.py", line 391, in forkHelper
    raise XendError("%s failed" % string.join(cmd))
XendError: /usr/lib/xen/bin/xc_restore 34 29 1 2 0 0 0 failed

Could you pls give me some hints to solve this problem? Thanks a lot.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>