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

[Xen-users] Debian wheezy Xen 4.1.4 migration issue with tapdisk



Hi,

I have a problem migrating VMs on Xen 4.1.4 (distribution install in wheezy).

The actual setup is Opennebula 4.0.1 + Xen

When I try to migrate VM i get the following error in nebula's log:

Wed Jun 5 14:54:54 2013 [VMM][E]: restore: Command "sudo /usr/sbin/xm restore /var/lib/one//datastores/0/23/checkpoint" failed: Error: /usr/lib/xen-4.1/bin/xc_restore 21 5 1 2 0 0 0 0 failed Wed Jun 5 14:54:54 2013 [VMM][E]: Could not restore from /var/lib/one//datastores/0/23/checkpoint



..and in xend.log i see:

[2013-06-05 15:38:04 24698] INFO (XendDomainInfo:2357) createDevice: tap2 : {'protocol': 'x86_64-abi', 'uuid': '8c752883-8b03-5154-a318-aea9d510c99d', 'bootable': 1, 'dev': 'xvda:disk', 'uname': 'tap:tapdisk:aio:/var/lib/one//datastores/0/27/disk.0', 'mode': 'w', 'VDI': '', 'backend': '0'}
[2013-06-05 15:38:04 24698] ERROR (XendDomainInfo:515) VM resume failed
Traceback (most recent call last):
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 511, in resume
    self._createDevices()
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 2364, in _createDevices
    devid = self._createDevice(devclass, config)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 2326, in _createDevice
    return self.getDeviceController(deviceClass).createDevice(devConfig)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/BlktapController.py", line 174, in createDevice
    device = TapdiskController.create(params, file)
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/BlktapController.py", line 285, in create
    return TapdiskController.exc('create', '-a%s:%s' % (dtype, image))
File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/BlktapController.py", line 233, in exc
    (args, rc, out, err))
TapdiskException: ('create', '-aaio:/var/lib/one//datastores/0/27/disk.0') failed (512 )


same happens with live migration.

in VM config file I use disk this way:

disk = ['tap2:tapdisk:aio:/var/lib/one//datastores/0/24/disk.0,xvda,w']

..and it works. So my question is - is the blktap2 implementation still broken in debian wheezy? or is it xen-tools that are broken? or what? :)

Because obviously Xen tries to create disk device using tap:tapdisk:aio: scheme, which does not work..

How can I fix the issue so that migration works? Please help!

Cheers,
J

--
Jacek Jarosiewicz

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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