Skip to content

Commit 8136811

Browse files
lmicciniopenshift-merge-bot[bot]
authored andcommitted
[multiple] Add LVMS support to dt-vhosts-compact and dt-sharded-compact
Add 3 extra disks (50G each) to OCP master nodes and configure LVMS using /dev/vda, /dev/vdb, /dev/vdc, following the same pattern used by other compact OCP scenarios (va-multi, dt-nfv-ovs-dpdk-sriov-hci). This replaces the default ci_local_storage with the LVMS operator for dynamic local storage provisioning. Signed-Off-By: Luca Miccini <lmiccini@redhat.com>
1 parent 6a22a0d commit 8136811

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

scenarios/reproducers/dt-sharded-compact.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ cifmw_libvirt_manager_configuration:
263263
image_local_dir: "{{ cifmw_basedir }}/images/"
264264
disk_file_name: "ocp_master"
265265
disksize: "100"
266+
extra_disks_num: 3
267+
extra_disks_size: "50G"
266268
cpus: 16
267269
memory: 64
268270
root_part_id: 4
@@ -320,3 +322,10 @@ cifmw_ceph_daemons_layout:
320322
ceph_nfs_enabled: true
321323

322324
cifmw_deploy_obs: true
325+
326+
# Set Logical Volume Manager Storage by default for local storage
327+
cifmw_use_lvms: true
328+
cifmw_lvms_disk_list:
329+
- /dev/vda
330+
- /dev/vdb
331+
- /dev/vdc

scenarios/reproducers/dt-vhosts-compact.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ cifmw_libvirt_manager_configuration:
263263
image_local_dir: "{{ cifmw_basedir }}/images/"
264264
disk_file_name: "ocp_master"
265265
disksize: "100"
266+
extra_disks_num: 3
267+
extra_disks_size: "50G"
266268
cpus: 16
267269
memory: 64
268270
root_part_id: 4
@@ -320,3 +322,10 @@ cifmw_ceph_daemons_layout:
320322
ceph_nfs_enabled: true
321323

322324
cifmw_deploy_obs: true
325+
326+
# Set Logical Volume Manager Storage by default for local storage
327+
cifmw_use_lvms: true
328+
cifmw_lvms_disk_list:
329+
- /dev/vda
330+
- /dev/vdb
331+
- /dev/vdc

0 commit comments

Comments
 (0)