-
Notifications
You must be signed in to change notification settings - Fork 442
AzureMachinePoolMachine: avoid setting FailureReason/FailureMessage #5558
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
base: main
Are you sure you want to change the base?
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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5558 +/- ##
==========================================
+ Coverage 52.94% 52.95% +0.01%
==========================================
Files 272 272
Lines 29525 29523 -2
==========================================
+ Hits 15631 15633 +2
+ Misses 13087 13083 -4
Partials 807 807 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
/ok-to-test |
field will get deprecated in v1beta2, setting this currently avoids the Machine from being reconciled at all which does not make sense in this case because a Failed provisioningState is not necessarily terminal
4abd50b
to
12ff489
Compare
@mboersma apologies for the delay - I was on vacation. Rebase is done 👍 |
/retest |
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 @nawazkh @willie-yao
LGTM label has been added. Git tree hash: d73e72e0df3ed93478cb511369cd15de9dceffb6
|
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
/approve
Just curious, when are we updating to v1beta2 ? |
Also this PR seems to be related to my comment here #5537 (comment) However, I agree we should be removing the steps to set the failure reason and failure message. But should that removal be in tandem with v1beta2 update ? |
/approve cancel Still lgtm but I want to address Nawaz's concerns first. Could be related to #5537 (comment) |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
That's a good question. But I think it also relates to the broader CAPI v1beta2 MP status. There are quite a few missing changes in CAPI itself to make MPs ready for v1beta2 - see kubernetes-sigs/cluster-api#11947. There are not enough maintainers at the moment. I plan to step up a bit but my time at the moment is too limited unfortunately. I need to reorganize a few things first. This change here is somewhat relevant to v1beta2 as for v1beta2 we don't have the FailureMessage/Reason fields anymore. However, this also just ensures for the current implementation that an AzureMachine is not marked as terminally failed when it is not actually the case. |
is there anything else I can do to make this move along? |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Field will get deprecated in v1beta2, setting this currently avoids the Machine from being reconciled at all which does not make sense in this case because a Failed provisioningState is not necessarily terminal
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 #5303
TODOs:
Release note: