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

`auto-sizing-disabled` MachineConfigs cannot be removed in 4.20 cluster

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • 4.20
    • 4.20
    • Node / Kubelet
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      `50-master-auto-sizing-disabled` & `50-worker-auto-sizing-disabled` MachineConfigs keep recreating after deletion

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

      4.20.14

      How reproducible:

      100%

      Steps to Reproduce:

          1. install OCP 4.20.14 cluster
          2. remove the auto-created `50-worker-auto-sizing-disabled` & `50-master-auto-sizing-disabled` MachineConfigs
          3. wait 5 minutes and they will be automatically recreated
      

      Actual results:

      auto-sizing-disabled MachineConfigs keep getting recreated

      Expected results:

      auto-sizing-disabled MachineConfigs should stay removed when deleted

      Additional info:

      Automatically calculate and apply CPU and memory resources for system components
      
      	OpenShift Container Platform now automatically calculates and 
      reserves a portion of the CPU and memory resources for use by the 
      underlying node and system components. Previously, you needed to enable 
      the feature by creating a KubeletConfig custom resource (CR) with the autoSizingReserved: true parameter. For clusters updated to OpenShift Container Platform 4.21, you can enable the feature by deleting the 50-worker-auto-sizing-disabled
       machine config. After you delete the machine config, the nodes reboot 
      with the new resource settings. If you manually configured system 
      reserved CPU or memory resources, these settings remain upon update and 
      do not change.

      Reference: https://docs.redhat.com/en/documentation/openshift_container_platform/4.21/html/release_notes/ocp-4-21-release-notes#ocp-release-notes-nodes_release-notes

      NOTE: this feature is supposedly only available in 4.21 yet the MachineConfigs are there in 4.20 also which does not seem correct as it's not documented in 4.20 release notes.

      PROBLEM: "you can enable the feature by deleting the 50-worker-auto-sizing-disabled machine config"

      Please move to correct component if CVO is not relevant. Thanks!

              rh-ee-ngopalak Neeraj Krishna Gopalakrishna
              rhn-support-bshirren Brendan Shirren
              None
              None
              Jia Liu Jia Liu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: