• Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • ACM Console Train 37 - 1

      Summary

      Shell script (setup_virt-cclm_env.sh) that prepares a freshly installed ACM environment (Hub + Spoke) for Fine-Grained RBAC, Fleet Virtualization, and Cross-Cluster Live Migration (CCLM) testing.


      What the script does

      1. Enable Tech Preview Features – Patch MCH to enable cnv-mtv-integrations-preview and fine-grained-rbac-preview. Auto-triggers MTV operator installation, User Management and Fleet Management perspectives.
      2. Wait for CNV Deployment – Wait for openshift-cnv namespace and HyperConverged CR to be Available.
      3. Configure CNV Feature Gates (Hub) – Enable decentralizedLiveMigration: true (requires CNV 4.20+).
      4. Wait for virt-synchronization-controller – Verify controller pods are running (auto-deployed by CNV operator).
      5. Create Sync Service – Create virt-synchronization-controller Service for Submariner connectivity (if Submariner deployed).
      6. Enable MTV CCLM Feature Flag – Patch ForkliftController: feature_ocp_live_migration: true, restart forklift-controller pod.
      7. Enable CCLM UI Feature Flag – Set kubevirtCrossClusterMigration: true in kubevirt-ui-features ConfigMap, restart kubevirt-console-plugin.
      8. Verify Console Plugins – Confirm kubevirt-plugin and forklift-console-plugin are enabled.
      9. Label local-cluster – Apply acm/cnv-operator-install=true (MTV Provider auto-creation) and environment=virtualization (acm-roles addon).
      10. Label Spoke for CNV Installation – Apply acm/cnv-operator-install=true to trigger CNV addon deployment.
      11. Verify Spoke CNV Configuration – Verify addon ManifestWork includes decentralizedLiveMigration: true and spoke HCO is managed by kubevirt-hyperconverged addon.

      Usage

      # Must be logged in to OCP hub first
      ./setup_virt-cclm_env.sh              # Full setup (RBAC + CCLM)
      ./setup_virt-cclm_env.sh --rbac-only  # RBAC/Virtualization only
      ./setup_virt-cclm_env.sh --dry-run    # Preview mode
      ./setup_virt-cclm_env.sh --help       # Full options
      

              rhn-support-ashafi Atif Shafi
              rh-ee-ecai Eveline Cai
              Atif Shafi Atif Shafi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: