Skip to content
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 1992255: Fix leader election defaults in snapshot-controller #99

Conversation

bertinatto
Copy link
Member

Current leader election defaults cause pod restarts when apiserver is unavailable for longer than 60 seconds. The values set in this patch come from https://github.com/openshift/library-go/blob/master/pkg/config/leaderelection/leaderelection.go.

Also, this patchset bump some libraries for OCP 4.9 release: kube libraries, openshift/library-go, openshift/api, snapshotter client among others.

Besides that, I'm removing go-bindata dependency that's no longer used since we're now using the embed built-in package.

CC @openshift/storage

Bump kube libraries, openshift/library-go, openshift/api,
snapshotter client among others.
@openshift-ci openshift-ci bot added the bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. label Aug 17, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 17, 2021

@bertinatto: This pull request references Bugzilla bug 1992255, 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
  • bug is open, matching expected state (open)
  • bug target release (4.9.0) matches configured target release for branch (4.9.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

No GitHub users were found matching the public email listed for the QA contact in Bugzilla (wduan@redhat.com), skipping review request.

In response to this:

Bug 1992255: Fix leader election defaults in snapshot-controller

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.

@openshift-ci openshift-ci bot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Aug 17, 2021
@openshift-ci openshift-ci bot requested review from gnufied and tsmetana August 17, 2021 13:56
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 17, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bertinatto

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 17, 2021
@bertinatto
Copy link
Member Author

/test unit

Current defaults cause pod restarts when apiserver is unavailable
for longer than 60 seconds. The values set in this patch come from
https://github.com/openshift/library-go/blob/master/pkg/config/leaderelection/leaderelection.go.
This is longer needed since we moved to the built-in
embeded package
@bertinatto bertinatto force-pushed the fix-leader-election-values-for-sno branch from fcabc01 to 9e21b0b Compare August 17, 2021 17:05
@jsafrane
Copy link
Contributor

/retest
some problem with registry?

@bertinatto
Copy link
Member Author

/hold
wait for or openshift/csi-external-snapshotter#56

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 18, 2021
@bertinatto
Copy link
Member Author

/test all

@bertinatto
Copy link
Member Author

/hold cancel
openshift/csi-external-snapshotter#56 merged.

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 20, 2021
@jsafrane
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 23, 2021
@bertinatto
Copy link
Member Author

/test e2e-upgrade

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

7 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 1580eed into openshift:master Aug 24, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 24, 2021

@bertinatto: All pull requests linked via external trackers have merged:

Bugzilla bug 1992255 has been moved to the MODIFIED state.

In response to this:

Bug 1992255: Fix leader election defaults in snapshot-controller

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants