-
Notifications
You must be signed in to change notification settings - Fork 465
MCO-790: Set up leader election in machine-os-builder #4302
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
Conversation
|
@inesqyx: This pull request references MCO-790 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Skipping CI for Draft Pull Request. |
|
/test all |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: inesqyx The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@inesqyx: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/jira refresh |
|
@inesqyx: This pull request references MCO-790 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
When we configure a new imageBuilderType the machine-os-builder pod is restarted, but it does not release the lease, so when the new machine-os-builder pod starts it cannot get the lease and reports a failure with this message It fails for 2 minutes and a half and then takes the lease ungracefully. To reproduce it just enable the on-cluster-build functionality and reconfigure the imageBuildertType with this command, for example:
Since imageBuilderType configuration is a controlled situation, the lease should be released and acquired gracefully, shouldn't it? A pre-merge jira ticket has been created to track this behaviour https://issues.redhat.com/browse/OCPBUGS-32271 |
|
With the new MachineOsCOnfig resource there is only one image builder type, hence the ticket that we opened regarding this PR no longer applies. We add the qe-approved label. /label qe-approved |
|
@inesqyx: This pull request references MCO-790 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
PR needs rebase. DetailsInstructions 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. |
|
Close the PR, merged in #4327 |
Mimicking the way that leader election is setup in machine config controller and machine config operator, we set up leader election in MOB as well. Doing so will ensure that only one single Machine OS Builder pod would be running at any given time.