Description of problem:
In order to create security hardened images, it was important to have different directories on different filesystems. On Pike, support for partitions was added. Now we are willing to create volumes on top of them, for Queens.
Using volumes instead of partitions, will give us more flexibility in terms of sizing and scaling.
Ideally we should verify if LVM can be configured with PVs in multiple local disks instead of just partitions in one disk.
I tested creating the image with multiple disks in diskimage-builder and that's not supported. If you'd like to work with multiple PVs in multiple disks, this needs to be done manually. The current volume creation in diskimage-builder/tripleo is just thought for a single disk
This was tested with osp13 latest. Looking at one of nodes (controller) which was deployed using whole disk image.
We can see the volumes
[root@controller-0 files]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
vda 252:0 0 40G 0 disk
├─vda1 252:1 0 21.4G 0 part
│ ├─vg-lv_root 253:0 0 6G 0 lvm /
│ ├─vg-lv_tmp 253:1 0 876M 0 lvm /tmp
│ ├─vg-lv_var 253:2 0 8.6G 0 lvm /var
│ ├─vg-lv_log 253:3 0 4.9G 0 lvm /var/log
│ ├─vg-lv_audit 253:4 0 876M 0 lvm /var/log/audit
│ └─vg-lv_home 253:5 0 216M 0 lvm /home
└─vda2 252:2 0 64M 0 part
loop2 7:2 0 16G 0 loop
├─cinder--volumes-cinder--volumes--pool_tmeta 253:6 0 16M 0 lvm
│ └─cinder--volumes-cinder--volumes--pool 253:8 0 15.2G 0 lvm
└─cinder--volumes-cinder--volumes--pool_tdata 253:7 0 15.2G 0 lvm
└─cinder--volumes-cinder--volumes--pool 253:8 0 15.2G 0 lvm
Mike - I believe fix for 1563774 is available in the latest puddle.
This can now be moved to verified with bz 1563774 being verified today in osp 13 2018-04-13.1
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.