Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-7530

OADP deployment fails on deploy-ocp-bare-metal-cluster-with-abi-cnv-4.22: No compatible OADP version for OCP 4.22

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • None
    • None
    • None
    • Quality / Stability / Reliability
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Very Likely
    • 0
    • Unset
    • Unknown
    • None

      Summary

      OADP deployment stage fails in job deploy-ocp-bare-metal-cluster-with-abi-cnv-4.22 when deploying to an OCP 4.22 cluster. The pipeline looks up a compatible OADP version from oadp-qe-automations oadp-ocp-version-mapping.json but no entry exists for OCP 4.22, causing the stage to error and the job to fail.

      Actual result

      • Deploy OADP stage fails with:
        [ERROR] No compatible OADP version found for OCP 4.22
      • Pipeline error: "Error while trying to Deploy OADP - hudson.AbortException: [ERROR] No compatible OADP version found for OCP 4.22"
      • Subsequent stage "Sync CLUSTER_DIR to NFS" is skipped due to earlier failure.
      • Job result: FAILURE

      Evidence (Jenkins console)

      • Job: deploy-ocp-bare-metal-cluster-with-abi-cnv-4.22 #28
      • Cluster: bm08a-tlv2 (CLUSTER_DOMAIN=abi.cnv-qe.rhood.us)
      • Relevant log lines:
        • [INFO] Finding latest_released OADP version compatible with OCP 4.22
        • [Pipeline] error
        • [WARNING] Failed to read oadp-ocp-version-mapping.json: hudson.AbortException: [ERROR] No compatible OADP version found for OCP 4.22
        • Error while trying to Deploy OADP - hudson.AbortException: [ERROR] No compatible OADP version found for OCP 4.22

      Steps to reproduce

      1. Run job deploy-ocp-bare-metal-cluster-with-abi-cnv-4.22 with DEPLOY_OADP=true (e.g. build #28).
      2. Wait for stages: Deploy OCP, Deploy OCS, Deploy CNV, Deploy HPP, etc., until "Deploy OADP" stage.
      3. In "Deploy OADP", the pipeline clones oadp-qe-automation, reads oadp-ocp-version-mapping.json, and looks for a compatible OADP version for the cluster OCP version (4.22).
      4. No mapping for OCP 4.22 is present → script errors → stage fails.

      Expected result

      Either:

      • oadp-ocp-version-mapping.json in oadp-qe-automation includes an entry for OCP 4.22 so that a compatible OADP version is selected and deployment proceeds, or
      • The deployment pipeline handles missing OCP version gracefully (e.g. skip OADP or clear warning) when no compatible OADP version is defined.

      Environment

      • Jenkins: jenkins-csb-cnvqe-main.dno.corp.redhat.com
      • Job: deploy-ocp-bare-metal-cluster-with-abi-cnv-4.22
      • Build: 28
      • Cluster: bm08a-tlv2.abi.cnv-qe.rhood.us
      • OCP version: 4.22
      • CNV version: 4.22.0 (candidate-stage)

              wnstb Wes Hayutin
              lbednar@redhat.com Lukas Bednar
              Daniel Keler Daniel Keler
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: