Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-59548

LCA 4.18 incorrect minkubeversion causes CSV to remain pending

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • CNF RAN Sprint 277, CNF RAN Sprint 278
    • 2
    • None
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          When installing LCA 4.18 from quay.io/redhat-user-workloads/telco-5g-tenant/lifecycle-agent-fbc-4-18:latest, the CSV remains in pending state due to minKubeVersion not being in x.y.z format.
      $ oc get csv -n openshift-lifecycle-agent lifecycle-agent.v4.18.1 -o yaml | yq e .spec.minKubeVersion -
      1.31 

      Upon patching the minKubeVersion, the installation proceeds 

      $ oc patch csv lifecycle-agent.v4.18.1 -n openshift-lifecycle-agent --type='json' -p='[{"op": "replace", "path": "/spec/minKubeVersion", "value": "1.31.0"}]'
      clusterserviceversion.operators.coreos.com/lifecycle-agent.v4.18.1 patched
      $ oc get csv -n openshift-lifecycle-agent lifecycle-agent.v4.18.1 -o yaml | yq e .spec.minKubeVersion -
      1.31.0
      $ oc get csv -n openshift-lifecycle-agent -w
      NAME                      DISPLAY           VERSION   REPLACES                  PHASE
      lifecycle-agent.v4.18.1   Lifecycle Agent   4.18.1    lifecycle-agent.v4.18.0   Installing
      lifecycle-agent.v4.18.1   Lifecycle Agent   4.18.1    lifecycle-agent.v4.18.0   Succeeded
       

      Version-Release number of selected component (if applicable):

          4.18.1

      How reproducible:

          1/1

      Steps to Reproduce:

          1. Install LCA from quay.io/redhat-user-workloads/telco-5g-tenant/lifecycle-agent-fbc-4-18:latest    

      Actual results:

          CSV is in pending state

      Expected results:

          CSV installs successfully    

              sskeard@redhat.com Steven Skeard
              treywest96 Trey West
              Omri Hochman, Trey West
              None
              Trey West Trey West
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: