-
Notifications
You must be signed in to change notification settings - Fork 295
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
⚠️ Treating VSphereVM wasNotFoundByBIOSUUID as transient error #2136
Conversation
Also CC @sbueringer for a code review, thx! |
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.
Thanks for the PR!
One question but as of that this looks great.
/hold
To wait for other opinions 👍
To summarise what happens on current code state when "not found by biosUUID" gets hit:
For all of these six conditions, message, reason and severity is the same:
Additional for
Note: tested via Note2: Fixing the issue gets everything back to a clean healthy state. |
Signed-off-by: Gong Zhang <[email protected]>
022b770
to
43cf6d0
Compare
@chrischdi @sbueringer Thanks again for your valuable feedback and quick action:) All comments are addressed and PR is ready for a second review. |
/lgtm sbueringer for approval :-) |
LGTM label has been added. Git tree hash: fb9d01b7b4457f36cff01e44ef77d4131acd6850
|
/retitle |
Thank you very much!! /lgtm (let's not backport this one given the change in behavior) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
Ups forgot /hold cancel |
Unrelated flake /retest |
⚠️ Treating VSphereVM wasNotFoundByBIOSUUID as transient error
What this PR does / why we need it:
We used to treate WasNotFoundByUUID as terminal error, and set
failureMessage
andfailureReason
, so VSphereVM won't be reconciled anymore. However, in some situation, this error is recoverable, for instance, if the storage was temporarily disconnected but later recovered, this error will be transient.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 #2102