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

Backport fix(openshift): use env var instead of clusterversion status to OCP 4.10

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.10.z
    • OLM
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      This is for the OCP 4.10 backport of the bugfix for this issue.

      --------------------------------------------------------------
      Description of problem:
      Cluster attempted to upgrade from 4.9.29 -> 4.10.15. The upgrade could not progress because of:

      Last Transition Time: 2022-06-15T16:08:33Z
      Message: ClusterServiceVersions blocking cluster upgrade: redhat-rhoam-operator/managed-api-service.v1.22.0 is incompatible with OpenShift minor versions greater than 4.10
      Reason: IncompatibleOperatorsInstalled
      Status: False
      Type: Upgradeable

      The mentioned CSV has olm.maxOpenShiftVersion of 4.10:

      *

      { "type": "olm.maxOpenShiftVersion", "value": "4.10" }

      *

      Actual results:
      The upgrade is blocked on this olm.maxOpenShiftVersion

      Expected results:
      The upgrade should not be blocked on this olm.maxOpenShiftVersion

      Additional info:
      The particular customer has successfully upgraded twice on different clusters on the same OCP edge and with managed-api-service.v1.22.0 installed

      must-gather will be attached in a private comment

            [OCPBUGS-2898] Backport fix(openshift): use env var instead of clusterversion status to OCP 4.10

            Errata Tool added a comment -

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory, and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHBA-2022:8496

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:8496

            Jian Zhang added a comment -

            /assign kuiwang 

            Jian Zhang added a comment - /assign kuiwang  

              pegoncal@redhat.com Per Goncalves da Silva
              rh-ee-cchantse Catherine Chan-Tse
              Kui Wang Kui Wang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: