Hi Carlos,

See answers inline.

Ovidiu

From: Alonso, Juan Carlos [juan.carlos.alonso@intel.com]
Sent: Tuesday, January 22, 2019 11:46 PM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] Simplex STX containerized

Hi,

 

I am trying to deploy an STX containerized system following steps on https://wiki.openstack.org/wiki/StarlingX/Containers/Installation

 

On Provisioning the platform section, on third bullet, to create partitions on the root disk. The first partition is for cgts volume and the second is for nova-local. The commands show that both should be applied to the same disk ID:

system host-disk-list controller-0 | awk ‘/sda/{print $2} ’

Is this correct?

[Ovi]  system host-disk-list controller-0 | awk ‘/sda/{print $2} ’ Grabs the disk UUID where you want to create the partition (you have disks and partitions on disks):

Syntax is:

[root@controller-0 wrsroot(keystone_admin)]# system host-disk-partition-add
usage: system host-disk-partition-add [-t <partition type>]
                                      <hostname or id> <disk path or uuid>
                                      <partition size in GiB>
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:

system host-disk-partition-add -t lvm_phys_vol controller-0 cfa76d4b-f35a-4edd-806d-f25be9f5bb08  10

you can then check the partitions with 'system host-disk-partition-list controller-0'


cgts-vg and nova-local should be configured in the same disk partition? [Ovi] No. You need a separate partition for each. Note that 'nova-local' can be created on a partition or on an entire disk.

I could not apply because size available was not enough, instead I use a different partition (sdb) [Ovi] sdb is disk, not a partition for nova-local. [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.


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'

 

After unlock the controller: system host-unlock controller-0, the system reboot about 4 times and then boot correctly. Is this an expected behavior? [Ovi] No, it's not expected, it should only reboot once.

 

Regards.

Juan Carlos Alonso