-
Notifications
You must be signed in to change notification settings - Fork 39
Bug 2033751: Update leader election timeouts to handle api server disruptions on SNO #15
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
Bug 2033751: Update leader election timeouts to handle api server disruptions on SNO #15
Conversation
To be able to handle an api server disruption on SNO, the leader election timeouts needs to be adjusted according to github.com/openshift/library-go/pull/1104. Signed-off-by: Christoph Stäbler <cstabler@redhat.com>
|
/assign @alexanderConstantinescu |
|
/retitle Bug 2033751: Update leader election timeouts to handle api server disruptions on SNO |
|
@creydr: This pull request references Bugzilla bug 2033751, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
/lgtm |
|
@creydr: This pull request references Bugzilla bug 2033751, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
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.
In the library code there seems to be a distinction between HighlyAvailableTopologyMode and SingleReplicaToplogy. This is not taken into account in this PR, but I assume it might not be that important at this point and for this component?
/lgtm
@alexanderConstantinescu: library-go also has a function |
|
@abhat could you have a look at this PR? It is for https://coreos.slack.com/archives/C02NZBANL3G/p1641823800130400 /assign @abhat |
Indeed, this is ultimately going to be upstreamed (long story), so avoiding as many openshift libraries as possible would be good. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexanderConstantinescu, creydr, mfojtik, squeed 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 |
|
@creydr: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Bugzilla bug in order for it to move to the next state. Once unlinked, request a bug refresh with Bugzilla bug 2033751 has not been moved to the MODIFIED state. 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. |
|
@creydr: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Currently in SNO deployments cloud-network-config-controller does not tolerate missing API server for longer than 10s and then it just kill itself and restarts. This is considered a test failure (see Slack: https://coreos.slack.com/archives/C02NZBANL3G/p1641823800130400):
This PR addresses it and sets the leader election timeouts to the recommended values according to openshift/library-go/pull/1104 to be able to handle api server disruption on SNO.