|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] [Xen-devel] Problem when launch instance in OpenStack when we use xen as virtuallization layer
On Thu, 20 Feb 2014, George Dunlap wrote:
> On Wed, Feb 19, 2014 at 1:59 PM, Kai Luo <luokain@xxxxxxxxx> wrote:
> > 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:
>
> I think I would start by asking this on xen-users (CC'd) -- it seems
> likely that this is a configuration issue between openstack and Xen,
> and there's more expertise for that here than on xen-devel (where we
> have more expertise about issues internal to Xen).
I would start by switching to the libxl libvirt driver and making sure
that libvirt works correctly on its own.
I would avoid virt-manager and test using virtsh instead.
If this configuration fails for you, what is the error that libxl
and/or libvirt reports?
Once you have a working libvirt+libxl setup then you might want to try
out OpenStack on top of it.
> > 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
> > self._configureBootloader()
> > 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-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |