-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AzureMachinePoolMachine remove finalizer and avoid recreation if VMSS is deleting #4959
AzureMachinePoolMachine remove finalizer and avoid recreation if VMSS is deleting #4959
Conversation
Hi @mweibel. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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 kubernetes-sigs/prow repository. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4959 +/- ##
=======================================
Coverage 62.22% 62.23%
=======================================
Files 201 201
Lines 16886 16894 +8
=======================================
+ Hits 10508 10514 +6
- Misses 5585 5588 +3
+ Partials 793 792 -1 ☔ View full report in Codecov by Sentry. |
/ok-to-test |
/retest |
nvm latest comment - could anyone please review this change? Tests pass :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/assign @nojnhuh
LGTM label has been added. Git tree hash: 89b209ef127313e094dbb69c0c6adffe03165e86
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nojnhuh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
feels like those test failures are not related to my changes, but maybe I'm wrong. |
@mweibel: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR fixes the issues related to deleting MachinePools with VMSS still existing. Copying from the linked issue:
This PR fixes point 5 by avoiding to recreate the VMSS VM when it's already in Deleting/Deleted state. Additionally it fixes Point 6 (more as a safeguard) by removing a finalizer on an AMPM early on when the AzureMachinePool is deleting and the Machine does not exist.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #4955
Special notes for your reviewer:
possibly @Jont828 could review this.
TODOs:
Release note: