Format:
Export:

Prerequisites & cluster preparation(15 of 15)

Keep this order!
⚠️ Cluster introduction

The following tests have been executed on a Single Node OpenShift (SNO) cluster.

The cluster is using: Minio Object Storage, MetalLB, LVM (local disks must be available), and a single NIC (a 2nd IP address is used for the VM network tests).

Some test cases could not be fully executed due to limitation of the SNO cluster or the hardware. They are still documented for reference and marked accordingly.

VMs need PersistentVolumes. On SNO without ODF (too resource-intensive for a single node), the LVM Storage Operator is the recommended solution. It creates a thin-pool-based StorageClass on a free block device. Thin provisioning enables fast PVC clones — essential for VM golden-image workflows. Prerequisite: at least one free, unused block device on the node.

1Identify free block device: in this example it is nvme1n1 (894.3G, no partitions)
nvme0n1 is the OCP system disk (has /boot + /sysroot) — do not touch it!
2OpenShift Console → EcosystemSoftware CatalogOperators → search for LVM Storage → install
3Namespace: openshift-lvm-storage (default), channel: stable-4.21
4Create LVMCluster CR (Commands/YAML tab — path /dev/nvme1n1 already set)
5Watch status: watch oc get lvmcluster -n openshift-lvm-storage
6Mark StorageClass lvms-vg1 as default
7Create VolumeSnapshotClass for VM snapshots — include label velero.io/csi-volumesnapshot-class=true (required when using OADP/PRE-13, otherwise PVC snapshots fail in OADP backups)
8Create test PVC — NOTE: stays Pending until a consumer exists (WaitForFirstConsumer)
9Create test pod — forces PVC binding → status changes to Bound
10Clean up: delete pod and PVC