OCPBUGS-99650: Delete stale auto-sizing MachineConfigs for non-default (custom) pools 4.20 - #6335
OCPBUGS-99650: Delete stale auto-sizing MachineConfigs for non-default (custom) pools 4.20#6335aksjadha wants to merge 1 commit into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Skipping CI for Draft Pull Request. |
|
@aksjadha: This pull request references Jira Issue OCPBUGS-99650, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Manually verified that the MCC is working as expected. During MCC reconciliation, the older custom autosizing MachineConfig is removed, leaving only the master and worker autosizing MachineConfigs. Additionally, I deleted all three MachineConfigs ( |
|
/jira refresh |
|
@aksjadha: This pull request references Jira Issue OCPBUGS-99650, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@aksjadha: This pull request references Jira Issue OCPBUGS-99650, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/ok-to-test |
|
@aksjadha: This pull request references Jira Issue OCPBUGS-99650, which is valid. 7 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
f56f4b7 to
e0d9dd7
Compare
|
/retest |
|
/lgtm |
|
Scheduling tests matching the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aksjadha, pablintino The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
@aksjadha: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Fixes: OCPBUGS-99650
- What I did
Fixed stale 50-{pool}-auto-sizing-disabled MachineConfigs persisting on non-default pools after upgrade from 4.20.24 or earlier. Restarting machine-config-controller creating 50-{pool}-auto-sizing-disabled MachineConfigs for custom pools.
OCPBUGS-83862 (shipped in 4.20.25) stopped creating auto-sizing MachineConfigs for non-default pools, but never cleaned up ones already created by older MCO versions. These stale MachineConfigs mask autoscaling configuration in KubeletConfigs for custom pool nodes.
Modified ensureAutoSizingMachineConfigs to iterate all MachineConfigPools on controller startup:
- How to verify it
- Description for the changelog
Delete stale auto-sizing-disabled MachineConfigs for non-default pools on controller startup to fix custom pool nodes affected after upgrade clusters.