[Openstack] Can't install domU on Xenserver

Bob Ball bob.ball at citrix.com
Mon Jan 5 15:10:34 UTC 2015


Hi John,

That’s a very interesting error – one I’ve not seen before personally.

A quick way to get up and running is to use the nightly XVAs we build from devstack, see http://downloads.vmd.citrix.com/OpenStack/.  The blog explaining how to use these is at  http://blogs.citrix.com/2013/10/16/devstack-virtual-appliance-for-xenserver/

In terms of the error listed, what’s the status of the XenServer?  A large output from the log would be useful to help me understand which steps to try next.

I guess the first question would be what is the output of the kpartx command if you run it manually?

Another instance of this error at https://lists.launchpad.net/openstack/msg16989.html suggests that the error is that the installation of Ubuntu failed in a way we weren’t expecting, which means that there are no partitions at all on the device.

The full log of install_os_domU.sh and your localrc would be a useful starting place to debug what’s going on here.  And, of course, this debugging can happen in parallel with using the XVAs described above to get you running sooner.

Thanks,

Bob

From: 한승진 [mailto:yongiman at gmail.com]
Sent: 05 January 2015 14:57
To: openstack at lists.openstack.org
Subject: [Openstack] Can't install domU on Xenserver

First of all I 'd like to wish to everyone of you happy new year!

I've been trying to install Openstack with XenServer.

Now, I'm using devstack for install Openstack on XenServer.

I followed this devstack xenserver guide in github.

https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md


However, I'm faced against this below error exception whenever I run install_os_domU.sh.

==============================
+++ xe vbd-list --minimal params=device uuid=19641d6d-cdb3-a8e3-5777-11b8baa8b248
++ dev=sm/backend/dee61403-815a-b970-9f28-cf9ba2efc910/ff2efba1-fdc9-4924-991e-e7b3ae62fd7a
++ [[ sm/backend/dee61403-815a-b970-9f28-cf9ba2efc910/ff2efba1-fdc9-4924-991e-e7b3ae62fd7a =~ sm/ ]]
++ DEBIAN_FRONTEND=noninteractive
++ apt-get --option Dpkg::Options::=--force-confold --assume-yes install kpartx
++ true
+++ kpartx -av /dev/sm/backend/dee61403-815a-b970-9f28-cf9ba2efc910/ff2efba1-fdc9-4924-991e-e7b3ae62fd7a
+++ sed -ne 's,^add map \([a-z0-9\-]*\).*$,\1,p'
+++ sed -ne 's,^\(.*1\)$,\1,p'
++ mapping=
++ '[' -z '' ']'
++ echo 'Failed to find mapping'
++ exit -1
+ mount_device='Failed to find mapping'
+ STAGING_DIR=
==================================


There is an old mailing list related to this issue which is saying that kpartx cannot mount disk of domU in the dom0 on Ubuntu OS.

http://www.gossamer-threads.com/lists/xen/api/276203

The source code of devstack is still same since that time.

Would anyone have good solution on this?

Please help..

Thanks.

--John Haan




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150105/477d0f34/attachment.html>


More information about the Openstack mailing list