<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Gulim;
panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
{font-family:Gulim;
panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@Gulim";
panose-1:2 11 6 0 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi John,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">That’s a very interesting error – one I’ve not seen before personally.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">A quick way to get up and running is to use the nightly XVAs we build from devstack, see
<a href="http://downloads.vmd.citrix.com/OpenStack/">http://downloads.vmd.citrix.com/OpenStack/</a>. The blog explaining how to use these is at <a href="http://blogs.citrix.com/2013/10/16/devstack-virtual-appliance-for-xenserver/">http://blogs.citrix.com/2013/10/16/devstack-virtual-appliance-for-xenserver/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I guess the first question would be what is the output of the kpartx command if you run it manually?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Another instance of this error at
<a href="https://lists.launchpad.net/openstack/msg16989.html">https://lists.launchpad.net/openstack/msg16989.html</a> 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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Bob<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
</span><span style="font-size:10.0pt;font-family:"Gulim","sans-serif"">한승진</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> [mailto:yongiman@gmail.com]
<br>
<b>Sent:</b> 05 January 2015 14:57<br>
<b>To:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> [Openstack] Can't install domU on Xenserver<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">First of all I 'd like to wish to everyone of you happy new year!<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I've been trying to install Openstack with XenServer.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Now, I'm using devstack for install Openstack on XenServer.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I followed this devstack xenserver guide in github.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md">https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">However, I'm faced against this below error exception whenever I run install_os_domU.sh.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">==============================<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">+++ xe vbd-list --minimal params=device uuid=19641d6d-cdb3-a8e3-5777-11b8baa8b248<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">++ dev=sm/backend/dee61403-815a-b970-9f28-cf9ba2efc910/ff2efba1-fdc9-4924-991e-e7b3ae62fd7a<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">++ [[ sm/backend/dee61403-815a-b970-9f28-cf9ba2efc910/ff2efba1-fdc9-4924-991e-e7b3ae62fd7a =~ sm/ ]]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">++ DEBIAN_FRONTEND=noninteractive<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">++ apt-get --option Dpkg::Options::=--force-confold --assume-yes install kpartx<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">++ true<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">+++ kpartx -av /dev/sm/backend/dee61403-815a-b970-9f28-cf9ba2efc910/ff2efba1-fdc9-4924-991e-e7b3ae62fd7a<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">+++ sed -ne 's,^add map \([a-z0-9\-]*\).*$,\1,p'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">+++ sed -ne 's,^\(.*1\)$,\1,p'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">++ mapping=<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">++ '[' -z '' ']'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">++ echo 'Failed to find mapping'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">++ exit -1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">+ mount_device='Failed to find mapping'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">+ STAGING_DIR=<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">==================================<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.gossamer-threads.com/lists/xen/api/276203">http://www.gossamer-threads.com/lists/xen/api/276203</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The source code of devstack is still same since that time.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Would anyone have good solution on this?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Please help..<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">--John Haan<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>