<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0" vlink="#954F72" link="#0563C1" lang="EN-US">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Hi Carlos,</div>
<div><br>
</div>
<div>See answers inline.</div>
<div><br>
</div>
<div>Ovidiu<br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF344621" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Alonso, Juan Carlos [juan.carlos.alonso@intel.com]<br>
<b>Sent:</b> Tuesday, January 22, 2019 11:46 PM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> [Starlingx-discuss] Simplex STX containerized<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am trying to deploy an STX containerized system following steps on
<a href="https://wiki.openstack.org/wiki/StarlingX/Containers/Installation" target="_blank" rel="noopener noreferrer">
https://wiki.openstack.org/wiki/StarlingX/Containers/Installation</a></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">On Provisioning the platform section, on third bullet, to create partitions on the root disk. The first partition is for
<span style="font-family:"Courier New"">cgts</span> volume and the second is for <span style="font-family:"Courier New"">
nova-local</span>. The commands show that both should be applied to the same disk ID:
</p>
<p class="MsoNormal"><span style="font-family:"Courier New"">system host-disk-list controller-0 | awk ‘/sda/{print $2} ’</span></p>
<p class="MsoNormal">Is this correct?</p>
<p class="MsoNormal"><font color="FF0000">[Ovi] <span style="font-family:"Courier New"">
system host-disk-list controller-0 | awk ‘/sda/{print $2} ’ </span>Grabs the disk UUID where you want to create the partition (you have disks and partitions on disks):</font></p>
<p class="MsoNormal"><font color="FF0000">Syntax is:</font></p>
<p class="MsoNormal"><font color="FF0000">[root@controller-0 wrsroot(keystone_admin)]# system host-disk-partition-add<br>
usage: system host-disk-partition-add [-t <partition type>]<br>
<hostname or id> <disk path or uuid><br>
<partition size in GiB><br>
For example, if sda has uuid cfa76d4b-f35a-4edd-806d-f25be9f5bb08 and you want to create a partition of size 10GiB on this disk, you would use:</font></p>
<p class="MsoNormal"><font color="FF0000">system host-disk-partition-add -t lvm_phys_vol controller-0 cfa76d4b-f35a-4edd-806d-f25be9f5bb08 10</font></p>
<font face="Calibri" color="FF0000">you can then check the partitions with 'system host-disk-partition-list controller-0'</font>
<p class="MsoNormal"><br>
</p>
<p class="MsoNormal"><span style="font-family:"Courier New"">cgts-vg</span> and <span style="font-family:"Courier New"">
nova-local</span> should be configured in the same disk partition?<font color="FF0000"> [Ovi] No. You need a separate partition for each. Note that 'nova-local' can be created on a partition
<b><i>or</i></b> on an entire disk.</font><br>
</p>
<p class="MsoNormal">I could not apply because size available was not enough, instead I use a different partition (<span style="font-family:"Courier New"">sdb</span>)
<font color="FF0000">[Ovi] sdb is disk, not a partition</font> for nova-local. <font color="FF0000">
[Ovi] It will work, just make sure you add another disk to the vbox VM as, in your configuration, /dev/sdb is used by nova-local. Then at step: "Add an OSD (/dev/sdb)" replace sdb with sdc.</font><br>
</p>
<p class="MsoNormal"><br>
</p>
<font color="FF0000">Note here: /dev/sda, /dev/sdb are disks, partitions are /dev/sdb1, /dev/sdb2 and so on. To check disks use system host-disk-list controller-0, to check all the partitions use 'system host-disk-partition-list controller-0'</font><br>
<p class="MsoNormal"> </p>
<p class="MsoNormal">After unlock the controller: <span style="font-family:"Courier New"">
system host-unlock controller-0</span>, the system reboot about 4 times and then boot correctly. Is this an expected behavior?<font color="FF0000"> [Ovi] No, it's not expected, it should only reboot once.</font><br>
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Regards.</p>
<p class="MsoNormal">Juan Carlos Alonso</p>
</div>
</div>
</div>
</div>
</body>
</html>