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

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
    • None
    • Critical
    • Yes
    • Proposed
    • False
    • Hide

      None

      Show
      None

      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
              hsueki Hidematsu Sueki
              Jie Zhao Jie Zhao
              IBM Employee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: