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

OLM attempts to pull the latest operator bundle instead of the mirrored version, causing an ImagePullBackOff error and blocking new operator installations in the namespace.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.14.z, 4.15.z, 4.16.z
    • OLM
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Issue Summary

      OLM attempts to pull the latest operator bundle image from the channel, even when a specific, older version has been mirrored and installed. This results in an ImagePullBackOff error, blocking the installation of any new operators in the namespace.

      Environment

       

      • OpenShift (OCP) Versions: 4.14, 4.15, 4.16

       

      Steps to Reproduce

      1. Mirror a specific, non-latest operator bundle image. For CU's scenario, the latest version in the candidate channel for the Kiali operator is 2.1.2, but only version 1.78.8 is mirrored.
      1. Create a new project: oc new-project olm-test.
      1. Install the 1.78.8 version of the Kiali operator from OperatorHub into the olm-test project.

      Expected Behavior

      OLM should recognize that version 1.78.8 has been successfully installed and not attempt to pull the latest version from the channel, allowing for other operators to be installed in the namespace.

      Actual Behavior

      1. After a successful installation of the 1.78.8 operator, OLM tries to pull the 2.1.2 operator bundle image.
      1. The image pull fails with an ImagePullBackOff error because the latest image (2.1.2) was not mirrored.
      1. The olm-test namespace becomes blocked, preventing the installation of any other operators.

              rh-ee-cchantse Catherine Chan-Tse
              rhn-support-jaliang Jace Liang
              Jace Liang
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: