-
Notifications
You must be signed in to change notification settings - Fork 17
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
Stop remediation when node not found #138
Stop remediation when node not found #138
Conversation
Signed-off-by: Michael Shitrit <[email protected]>
Signed-off-by: Michael Shitrit <[email protected]>
Skipping CI for Draft Pull Request. |
/test ? |
@mshitrit: The following commands are available to trigger required jobs:
Use In 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 kubernetes/test-infra repository. |
/test 4.12-openshift-e2e |
/lgtm Giving a chance to get more feedbacks, feel free to unhold |
/retest |
remediationTerminatedByNHC processingChangeReason = "RemediationStoppedByNHC" | ||
remediationFinished processingChangeReason = "RemediationFinished" | ||
remediationStarted processingChangeReason = "RemediationStarted" | ||
remediationTerminatedByNHC processingChangeReason = "RemediationStoppedByNHC" |
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.
NIT: I would follow the pattern of the const name match its value by updating the const name to be remediationStoppedByNHC
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.
and NHC is signalling a timeout actually, not stopping or terminating anything 😉
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.
Too many verbs for one action :D
NIT: Whenever we use |
when you reuse the same const, you don't detect typos in const values |
Signed-off-by: Michael Shitrit <[email protected]>
56cf0be
to
ee5818d
Compare
/retest |
2 similar comments
/retest |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mshitrit, slintes 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 |
/unhold |
ECOPROJECT-1492
Incorrect Status Conditions in case non existed node in Remediation CR .
When SNR is created for a non existing node Processing condition is True and Reason is RemediationStarted.
Expected values are processing = false, succeeded = false with reason NodeNotFound.