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

Changes to NodePool .spec.platfrom doesn't trigger a rolling upgrade

    XMLWordPrintable

Details

    • No
    • Hypershift Sprint 241
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Changes to platform fields e.g. aws instance type doesn't trigger a rolling upgrade
      

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

      
      

      How reproducible:

      Always
      

      Steps to Reproduce:

      1. Create a hostedCluster with nodepool on AWS
      2. Change the instance type field on the nodepool spec.platfrom.aws
      

      Actual results:

      Machines are not restarted and the instance type didn't change
      

      Expected results:

      Machines are recreated with the new instance type
      

      Additional info:

      This is a result of the recent changes to CAPI which introduced in-place propagation to labels and annotations
      Soultion:
      MachineTemplate name should not be constant and should change with each spec change, so that spec.infraRef in the MachineDeployment is updated and a rolling upgrade is triggered.
      

      Attachments

        Activity

          People

            rh-ee-mraee Mulham Raee
            rh-ee-mraee Mulham Raee
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: