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 2100249: Revert "Bug 2082599: add upper bound to number of failed attempts" #1161

Merged

Conversation

trozet
Copy link
Contributor

@trozet trozet commented Jun 22, 2022

Reverts #1147

This fix introduced an upper limit on the number of retries in ovnk for failed attempts. However, due to some compounding issues it causes pods to never come up. The scenario is like this:

  1. a pod is added, fails to come up because the node is not ready
  2. pod update happens, fails to come up because node is not ready (failed attempts incremented)
  3. nodes 1..n come up, all immediately requesting retry of pods
  4. backoff is ignored, cause immediate requests were made, the pod is retried n times, all fail, and failed attempts increment, causing the pod to be dropped

These steps happen over a period of 30 seconds, just before the node is finally ready. We need a few adjustments to the logic in ovnk before we can introduce an upper limit.

@trozet
Copy link
Contributor Author

trozet commented Jun 22, 2022

@ricky-rav FYI

@openshift-ci openshift-ci bot added bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent 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. labels Jun 22, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 22, 2022

@trozet: This pull request references Bugzilla bug 2100249, which is valid. The bug has been moved to the POST state. 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.11.0) matches configured target release for branch (4.11.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @anuragthehatter

In response to this:

Bug 2100249: Revert "Bug 2082599: add upper bound to number of failed attempts"

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.

@tssurya
Copy link
Contributor

tssurya commented Jun 22, 2022

lgtm

@openshift-ci openshift-ci bot requested review from abhat and jcaamano June 22, 2022 21:00
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 22, 2022
@ricky-rav
Copy link
Contributor

/lgtm

Surya just explained to me what happened with the pods being retried several times at each pod update event and getting all retried upon node updates at startup. Ugh! Sorry for not catching this!

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 23, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 23, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ricky-rav, trozet

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-robot
Copy link
Contributor

/retest-required

Remaining retests: 2 against base HEAD aa43c16 and 8 for PR HEAD be71ddf in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 1 against base HEAD aa43c16 and 7 for PR HEAD be71ddf in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 2 against base HEAD 13f9329 and 6 for PR HEAD be71ddf in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 1 against base HEAD 13f9329 and 5 for PR HEAD be71ddf in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 13f9329 and 4 for PR HEAD be71ddf in total

@tssurya
Copy link
Contributor

tssurya commented Jun 24, 2022

/retest

@ricky-rav
Copy link
Contributor

/retest-required

@flavio-fernandes
Copy link
Contributor

Looking the failing job makes mt think we may need an /override ci/prow/e2e-metal-ipi-ovn-ipv6:

https://testgrid.k8s.io/redhat-openshift-ocp-release-4.11-blocking#periodic-ci-openshift-release-master-nightly-4.11-e2e-metal-ipi-ovn-ipv6

https://prow.ci.openshift.org/job-history/gs/origin-ci-test/pr-logs/directory/pull-ci-openshift-ovn-kubernetes-master-e2e-metal-ipi-ovn-ipv6

@dcbw could you please help us out with that? This is a blocker for 4.11, so we should not hold this up for a known broken job.

@knobunc
Copy link
Contributor

knobunc commented Jun 24, 2022

/override ci/prow/e2e-metal-ipi-ovn-ipv6

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 24, 2022

@knobunc: Overrode contexts on behalf of knobunc: ci/prow/e2e-metal-ipi-ovn-ipv6

In response to this:

/override ci/prow/e2e-metal-ipi-ovn-ipv6

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
Copy link
Contributor

openshift-ci bot commented Jun 24, 2022

@trozet: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-vsphere-ovn be71ddf link false /test e2e-vsphere-ovn
ci/prow/e2e-aws-ovn-windows be71ddf link false /test e2e-aws-ovn-windows
ci/prow/e2e-aws-ovn-serial be71ddf link false /test e2e-aws-ovn-serial
ci/prow/e2e-openstack-ovn be71ddf link false /test e2e-openstack-ovn
ci/prow/e2e-vsphere-windows be71ddf link false /test e2e-vsphere-windows
ci/prow/e2e-azure-ovn be71ddf link false /test e2e-azure-ovn

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.

@openshift-ci openshift-ci bot merged commit dd08aab into openshift:master Jun 24, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 24, 2022

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

Bugzilla bug 2100249 has been moved to the MODIFIED state.

In response to this:

Bug 2100249: Revert "Bug 2082599: add upper bound to number of failed attempts"

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.

@tssurya
Copy link
Contributor

tssurya commented Jun 27, 2022

/cherry-pick release-4.11

@openshift-cherrypick-robot

@tssurya: new pull request created: #1165

In response to this:

/cherry-pick release-4.11

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-urgent Referenced Bugzilla bug's severity is urgent 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.

None yet

7 participants