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

4.16 NodePool CEL validation breaking existing NodePools

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • None
    • 4.17.0, 4.16.z
    • HyperShift
    • None
    • Important
    • Yes
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

         4.16 NodePool CEL validation breaking existing/older NodePools

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

         4.16.0

      How reproducible:

         100%

      Steps to Reproduce:

          1. Deploy 4.16 NodePool CRDs
          2. Create NodePool resource without spec.replicas + spec.autoScaling
          3. 
          

      Actual results:

          The NodePool "22276350-mynodepool" is invalid: spec: Invalid value: "object": One of replicas or autoScaling should be set but not both

      Expected results:

          NodePool to apply successfully

      Additional info:

          Breaking change: https://github.com/openshift/hypershift/pull/3786

            agarcial@redhat.com Alberto Garcia Lamela
            hsueki Hidematsu Sueki (Inactive)
            Jie Zhao Jie Zhao
            IBM Employee
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: