Openshift

CNV — Infra Stack


Author: Unknown

CNV — Infra Stack

Deploys the full OpenShift CNV infrastructure stack – installs the OpenShift Virtualization operator, configures cluster settings, provisions RHEL VMs, and syncs the CNV inventory. The OpenShift equivalent of Deploy Cloud Stack in AWS.

  1. Deploy VMs (parallel) — Provisions RHEL 8 and RHEL 9 VMs on CNV
  2. Update Inventory — Syncs the CNV dynamic inventory so new VMs appear in AAP
  3. Ticket (on failure) — Creates a notification if VM deployment fails

Prerequisites

  • OpenShift Credential configured with API token
  • Cluster admin access with bare-metal or nested-virt nodes
  • Run APD ǀ Single demo setup with openshift

Job templates

Template Playbook Description
OpenShift ǀ CNV ǀ Infra Stack (workflow) openshift/setup.yml Installs CNV, provisions VMs, and syncs inventory in a single workflow

See other Openshift demos

Browse all Openshift demos →

Workflow

graph LR
  S["🏠 Start"]
  S --> A
  S --> B
  A["🐧 Deploy RHEL8 VM"] --> C["🔄 Update Inventory"]
  B["🐧 Deploy RHEL9 VM"] --> C
  A -. "failure" .-> D["🎫 Ticket — Instance Failed"]
  B -. "failure" .-> D
  style A fill:#3d1a1a,stroke:#cc0000,color:#fff
  style B fill:#3d1a1a,stroke:#cc0000,color:#fff
  style C fill:#2d2d2d,stroke:#888,color:#fff
  style D fill:#4a1a1a,stroke:#ef4444,color:#fff
  style S fill:#212427,stroke:#8a8d90,color:#fff