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

[Xen-users] xen live migration error:VmError: Device 51712 (vbd) could not be connected. Hotplug scripts not working.


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "suyash jape" <suyashjape@xxxxxxxxx>
  • Date: Sat, 3 Mar 2007 20:34:33 +0530
  • Delivery-date: Sat, 03 Mar 2007 07:03:50 -0800
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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