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

HCP: hypershift-operator on disconnected clusters ignores RegistryOverrides inspecting for nodepool release image(setting hypershift.openshift.io/control-plane-operator-image is a workaround)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • 4.17
    • 4.14, 4.15, 4.16, 4.17
    • HyperShift
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, deploying a `hostedCluster` in a disconnected environment required setting the `hypershift.openshift.io/control-plane-operator-image` annotation. With this update, the annotation is no longer needed. Additionally, the metadata inspector works as expected during the hosted Operator reconciliation, and `OverrideImages` is populated as expected. (link:https://issues.redhat.com/browse/OCPBUGS-34734[*OCPBUGS-34734*])
      Show
      * Previously, deploying a `hostedCluster` in a disconnected environment required setting the `hypershift.openshift.io/control-plane-operator-image` annotation. With this update, the annotation is no longer needed. Additionally, the metadata inspector works as expected during the hosted Operator reconciliation, and `OverrideImages` is populated as expected. (link: https://issues.redhat.com/browse/OCPBUGS-34734 [* OCPBUGS-34734 *])
    • Bug Fix
    • Done

      Description of problem:

      For the fix of OCPBUGS-29494, only the hosted cluster was fixed, and changes to the node pool were ignored. The node pool encountered the following error:

          - lastTransitionTime: "2024-05-31T09:11:40Z"
            message: 'failed to check if we manage haproxy ignition config: failed to look
              up image metadata for registry.ci.openshift.org/ocp/4.14-2024-05-29-171450@sha256:9b88c6e3f7802b06e5de7cd3300aaf768e85d785d0847a70b35857e6d1000d51:
              failed to obtain root manifest for registry.ci.openshift.org/ocp/4.14-2024-05-29-171450@sha256:9b88c6e3f7802b06e5de7cd3300aaf768e85d785d0847a70b35857e6d1000d51:
              unauthorized: authentication required'
            observedGeneration: 1
            reason: ValidationFailed
            status: "False"
            type: ValidMachineConfig
      

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

          4.14, 4.15, 4.16, 4.17

      How reproducible:

          100%

      Steps to Reproduce:

          1. try to deploy an hostedCluster on a disconnected environment without explicitly set hypershift.openshift.io/control-plane-operator-image annotation.
          2.
          3.

      Expected results:

      without set hypershift.openshift.io/control-plane-operator-image annotation
      nodepool can be ready
      

              rhn-support-liangli Liangquan Li
              rhn-support-liangli Liangquan Li
              Liangquan Li Liangquan Li
              Subhashini T K Subhashini T K
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: