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 live migration error:VmError: Device 51712 (vbd) could n

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen live migration error:VmError: Device 51712 (vbd) could not be connected. Hotplug scripts not working.
From: "suyash jape" <suyashjape@xxxxxxxxx>
Date: Sat, 3 Mar 2007 20:34:33 +0530
Delivery-date: Sat, 03 Mar 2007 07:03:50 -0800
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=JoLbp/2tYxnPrvC/ngDHcNcT4ksfYV0bwxmlLVxLwtzXOEwL29qHAWmqI+oNV4SK+Ans/t7c5E6ncGzhkpUm1ZdQMg35f13NpA3Mm4I6IRGNes5CmrDtS1aRbzP6fXp5cv0iT5j6pscNKhVUQtpSp/CGfOxDhwgTlk+1gdTgk2o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=kaXk2MykFnJqSySdNnvRID/LE01QKToUUPowjMvSHt2dNC6cdLcwYOnlOIUjk9TI1a7ChlLMiqid+xavN6J2zgAmLtARwu1cXIoXJmeL9Uml85Ue8rYlviB3xB+D5VoRkoVB6C8YdIX8RDAtVHFuk6yfK5Z1uk2/P/zBDfTbiyM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all
I am trying live migration of a domain in fedora core 6.Both machines have follwoing configuration.

[root@localhost xen]# rpm -qa|grep kernel
kernel-headers-2.6.18-1.2798.fc6
kernel-xen-2.6.18-1.2798.fc6
[root@localhost xen]# rpm -qa|grep xen
xen-3.0.3-0.1.rc3
xen-libs-3.0.3-0.1.rc3
kernel-xen-2.6.18-1.2798.fc6

The DomainU migrated to host2 ...it appeared in the watch xm list window as a paused domain for a few seconds and then disappeared.

The /var/log/xen/xend.log file is:

[2007-03-03 20:19:53 xend 4900] DEBUG (balloon:127) Balloon: 237548 KiB free; need 73728; done.
[2007-03-03 20:19:53 xend 4900] DEBUG (XendCheckpoint:155) [xc_restore]: /usr/lib/xen/bin/xc_restore 21 2 18432 1 2
[2007-03-03 20:19:53 xend 4900] ERROR (XendCheckpoint:236) xc_linux_restore start: max_pfn = 4800
[2007-03-03 20:19:53 xend 4900] ERROR (XendCheckpoint:236) Increased domain reservation by 12000 KB
[2007-03-03 20:19:53 xend 4900] ERROR (XendCheckpoint:236) Reloading memory pages:   0%
[2007-03-03 20:19:59 xend 4900] ERROR (XendCheckpoint:236) Received all pages (0 races)
[2007-03-03 20:19:59 xend 4900] ERROR (XendCheckpoint:236) 100%
[2007-03-03 20:19:59 xend 4900] ERROR (XendCheckpoint:236) Memory reloaded.
[2007-03-03 20:19:59 xend 4900] ERROR (XendCheckpoint:236) Decreased reservation by 2089 pages
[2007-03-03 20:19:59 xend 4900] ERROR (XendCheckpoint:236) Domain ready to be built.
[2007-03-03 20:19:59 xend 4900] ERROR (XendCheckpoint:236) Restore exit with rc=0
[2007-03-03 20:19:59 xend 4900] DEBUG (XendCheckpoint:209) store-mfn 42828
[2007-03-03 20:19:59 xend 4900] DEBUG (XendCheckpoint:209) console-mfn 51024
[2007-03-03 20:19:59 xend 4900] DEBUG (DevController:143) Waiting for devices vif.
[2007-03-03 20:19:59 xend 4900] DEBUG (DevController:149) Waiting for 0.
[2007-03-03 20:19:59 xend 4900] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status.
[2007-03-03 20:19:59 xend 4900] DEBUG (DevController:478) hotplugStatusCallback 1.
[2007-03-03 20:19:59 xend 4900] DEBUG (DevController:143) Waiting for devices usb.
[2007-03-03 20:19:59 xend 4900] DEBUG (DevController:143) Waiting for devices vbd.
[2007-03-03 20:19:59 xend 4900] DEBUG (DevController:149) Waiting for 51712.
[2007-03-03 20:19:59 xend 4900] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/2/51712/hotplug-status.
[2007-03-03 20:21:39 xend.XendDomainInfo 4900] DEBUG (XendDomainInfo:1449) XendDomainInfo.destroy : domid=2
[2007-03-03 20:21:40 xend.XendDomainInfo 4900] DEBUG (XendDomainInfo:1457) XendDomainInfo.destroyDomain(2)
[2007-03-03 20:21:40 xend 4900] ERROR (XendDomain:268) Restore failed
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line 263, in domain_restore_fd
    return XendCheckpoint.restore(self, fd)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 165, in restore
    dominfo.waitForDevices() # Wait for backends to set up
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1596, in waitForDevices
    self.waitForDevices_(c)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1090, in waitForDevices_
    return self.getDeviceController(deviceClass).waitForDevices()
  File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 145, in waitForDevices
    return map(self.waitForDevice , self.deviceIDs())
  File "/usr/lib/python2.4/site-packages/xen/xend/server/DevController.py", line 155, in waitForDevice
    raise VmError("Device %s (%s) could not be connected. "
VmError: Device 51712 (vbd) could not be connected. Hotplug scripts not working.
[2007-03-03 20:23:15 xend 4900] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/2/51712/hotplug-status.
[2007-03-03 20:23:15 xend 4900] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/2/51712/hotplug-status.
[2007-03-03 20:23:15 xend 4900] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/1/51712/hotplug-status.
[2007-03-03 20:23:15 xend 4900] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/2/51712/hotplug-status.
[2007-03-03 20:23:15 xend 4900] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/1/51712/hotplug-status.
[2007-03-03 20:23:15 xend 4900] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/2/51712/hotplug-status.


There seems to be a problem creating the VBD. The DomainU has a LV backed vbd in host1.

During migration ,is a new VBD created from scratch on destination machine(host 1)?
Or do i manually need to allocate space for the VBD?


Thanks a lot.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xen live migration error:VmError: Device 51712 (vbd) could not be connected. Hotplug scripts not working., suyash jape <=