-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🐛 Ensure that etcd health check errors are logged in KCP #3336
🐛 Ensure that etcd health check errors are logged in KCP #3336
Conversation
Hi @Arvinderpal. 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/test-infra repository. |
@sedefsavas PTAL |
/ok-to-test |
100f630
to
69651a7
Compare
69651a7
to
2afe147
Compare
d6b40cc
to
0cccc6f
Compare
@sedefsavas @vincepri Tests are clean. |
07e7589
to
93797cb
Compare
93797cb
to
71e564c
Compare
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.
Some nits. Otherwise LGTM.
75e1a30
to
f1abb54
Compare
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
/assign @ncdc @fabriziopandini
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vincepri 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 |
f1abb54
to
1f4d5e4
Compare
/retest |
/test pull-cluster-api-test |
1 similar comment
/test pull-cluster-api-test |
Seems there are two other tests under KCP that are now failing |
@Arvinderpal can you take a look? |
lgtm pending tests |
1f4d5e4
to
3ad74fb
Compare
alright, so reconcileHealth() treats the case of unhealthy etcd differently from unhealthy controlplane. the unit test now reflects this. |
@Arvinderpal this fixes #3519, correct? If so please add to PR description |
It partially does, the first error is still not returned, but logged now. I don't think we should necessarily go in backoff loop for the first error, given that there might be transient issues that are resolved sooner than the backoff retries |
/lgtm |
What this PR does / why we need it:
The initial error returned for an etcd health check gets overwritten and is never logged.