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

4.18 HyperShift operator fails to serialize NodePool ConfigMaps with ImageDigestMirrorSet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.18, 4.19
    • HyperShift
    • Critical
    • Yes
    • Proposed
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-46354. The following is the description of the original issue:

      Description of problem:

          4.18 HyperShift operator's NodePool controller fails to serialize NodePool ConfigMaps that contain ImageDigestMirrorSet. Inspecting the code, it fails on NTO reconciliation logic, where only machineconfiguration API schemas are loaded into the YAML serializer: https://github.com/openshift/hypershift/blob/f7ba5a14e5d0cf658cf83a13a10917bee1168011/hypershift-operator/controllers/nodepool/nto.go#L415-L421

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

          4.18

      How reproducible:

          100%

      Steps to Reproduce:

          1. Install 4.18 HyperShift operator
          2. Create NodePool with configuration ConfigMap that includes ImageDigestMirrorSet
          3. HyperShift operator fails to reconcile NodePool

      Actual results:

          HyperShift operator fails to reconcile NodePool

      Expected results:

          HyperShift operator to successfully reconcile NodePool

      Additional info:

          Regression introduced by https://github.com/openshift/hypershift/pull/4717

              agarcial@redhat.com Alberto Garcia Lamela
              openshift-crt-jira-prow OpenShift Prow Bot
              Jie Zhao Jie Zhao
              IBM Employee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: