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

[Xen-devel] Problem when launch instance in OpenStack when we use xen as virtuallization layer

  • To: xen-devel@xxxxxxxxxxxxx
  • From: Kai Luo <luokain@xxxxxxxxx>
  • Date: Wed, 19 Feb 2014 21:59:38 +0800
  • Delivery-date: Wed, 19 Feb 2014 14:01:00 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hello all:
      Recently we are trying to deploy OpenStack with xen 4.3.0 as virtualization layer, however an error occered when we launch an instance from an image.We have confirmed that OpenStack services work fine and the problem may lies in the xen layer.We checked the xend log and got the following exception:

TapdiskException: ('create', '-aqcow2:arbva/instances4b07c5-7443-418b-81c4-a1f55fb264d3/disk') failed (32512  )
[2014-02-18 21:13:43 11395] DEBUG (XendDomainInfo:3078) XendDomainInfo.destroy: domid=21
[2014-02-18 21:13:43 11395] DEBUG (XendDomainInfo:2408) No device model
[2014-02-18 21:13:43 11395] DEBUG (XendDomainInfo:2410) Releasing devices
[2014-02-18 21:13:43 11395] ERROR (SrvBase:88) Request start failed.
Traceback (most recent call last):
  File "/usrb/xen-4.3/bin/..b/python/xen/web/SrvBase.py", line 85, in perform
    return op_method(op, req)
  File "/usrb/xen-4.3/bin/..b/python/xen/xendrver/SrvDomain.py", line 77, in op_start
    return self.xd.domain_start(self.dom.getName(), paused)
  File "/usrb/xen-4.3/bin/..b/python/xen/xend/XendDomain.py", line 1070, in domain_start
    dominfo.start(is_managed = True)
  File "/usrb/xen-4.3/bin/..b/python/xen/xend/XendDomainInfo.py", line 474, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usrb/xen-4.3/bin/..b/python/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "/usrb/xen-4.3/bin/..b/python/xen/xend/XendDomainInfo.py", line 2845, in _initDomain
  File "/usrb/xen-4.3/bin/..b/python/xen/xend/XendDomainInfo.py", line 3286, in _configureBootloader
    mounted_vbd_uuid = dom0.create_vbd(vbd, disk);
  File "/usrb/xen-4.3/bin/..b/python/xen/xend/XendDomainInfo.py", line 3979, in create_vbd
    devid = dev_control.createDevice(config)
  File "/usrb/xen-4.3/bin/..b/python/xen/xendrver/BlktapController.py", line 172, in createDevice
    device = TapdiskController.create(params, file)
  File "/usrb/xen-4.3/bin/..b/python/xen/xendrver/BlktapController.py", line 284, in create
    return TapdiskController.exc('create', '-a%s:%s' % (dtype, image))
  File "/usrb/xen-4.3/bin/..b/python/xen/xendrver/BlktapController.py", line 231, in exc
    (args, rc, out, err))
TapdiskException: ('create', '-aqcow2:arbva/instances4b07c5-7443-418b-81c4-a1f55fb264d3/disk') failed (32512  )
[2014-02-18 21:13:44 11395] INFO (XendDomain:1126) Domain instance-00000035 (db4b07c5-7443-418b-81c4-a1f55fb264d3) deleted.

     We tryed to use image of RAW or QCOW2 format and switch the xen toolstack from xm to xl,still did't work.when we switch the toolstack to xl and closed the xend service, the virt-manager did not work either.We don't know what caused this problem and we know XCP may be a better choice but we have to use xen as OpenStack virtualization layer because some modifications have made in xen.Could you give any suggestions?

Xen-devel mailing list



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