Skip to content

Conversation

@petr-muller
Copy link
Member

Previously, the throttling reused the minimumUpdateCheckInterval value
which is derived from the full CVO minimum sync period. This value is
set between 2m and 4m at CVO startup. This period is unecessarily long
and bad for UX, things happen with a delay and our own testcase expects
upgradeability to be propagated in 3 minutes at worst.

Hardcode the throttling to 2m (lower bound of previous behavior) to
prevent flapping on flurries but allow changes to propagate
deterministically faster. We will still get a bit of non-determinisim
from sync periods and requeueing, so this change should not cause any
periodic API-hammering.

This is a partial backport of #882. The release-4.11 branch does not contain the fast-mode-with-failing-precondition code from #808 so the refactoring commit from #882 is not applicable nor needed.

Previously, the throttling reused the `minimumUpdateCheckInterval` value
which is derived from the full CVO minimum sync period. This value is
set between 2m and 4m at CVO startup. This period is unecessarily long
and bad for UX, things happen with a delay and our own testcase expects
upgradeability to be propagated in 3 minutes at worst.

Hardcode the throttling to 2m (lower bound of previous behavior) to
prevent flapping on flurries but allow changes to propagate
deterministically faster. We will still get a bit of non-determinisim
from sync periods and requeueing, so this change should not cause any
periodic API-hammering.
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 16, 2023

@petr-muller: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

Set upgradeability check throttling period to 2m

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 requested review from vrutkovs and wking January 16, 2023 14:58
@petr-muller
Copy link
Member Author

/jira cherrypick OCPBUGS-5879

@openshift-ci-robot
Copy link
Contributor

@petr-muller: Jira Issue OCPBUGS-5879 has been cloned as Jira Issue OCPBUGS-5882. Retitling PR to link against new bug.
/retitle OCPBUGS-5882: Set upgradeability check throttling period to 2m

Details

In response to this:

/jira cherrypick OCPBUGS-5879

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 changed the title Set upgradeability check throttling period to 2m OCPBUGS-5882: Set upgradeability check throttling period to 2m Jan 16, 2023
@openshift-ci-robot openshift-ci-robot added the jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. label Jan 16, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 16, 2023

@petr-muller: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

OCPBUGS-5882: Set upgradeability check throttling period to 2m

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-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Jan 16, 2023
@openshift-ci-robot
Copy link
Contributor

@petr-muller: This pull request references Jira Issue OCPBUGS-5882, which is invalid:

  • expected dependent Jira Issue OCPBUGS-5879 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is POST instead
  • expected dependent Jira Issue OCPBUGS-5879 to target a version in 4.12.0, but it targets "4.12.z" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Previously, the throttling reused the minimumUpdateCheckInterval value
which is derived from the full CVO minimum sync period. This value is
set between 2m and 4m at CVO startup. This period is unecessarily long
and bad for UX, things happen with a delay and our own testcase expects
upgradeability to be propagated in 3 minutes at worst.

Hardcode the throttling to 2m (lower bound of previous behavior) to
prevent flapping on flurries but allow changes to propagate
deterministically faster. We will still get a bit of non-determinisim
from sync periods and requeueing, so this change should not cause any
periodic API-hammering.

This is a partial backport of #882. The release-4.11 branch does not contain the fast-mode-with-failing-precondition code from #808 so the refactoring commit from #882 is not applicable nor needed.

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 Jan 16, 2023

@petr-muller: all tests passed!

Full PR test history. Your PR dashboard.

Details

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.

@petr-muller petr-muller changed the title OCPBUGS-5882: Set upgradeability check throttling period to 2m [release-4.11] OCPBUGS-5882: Set upgradeability check throttling period to 2m Jan 19, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 19, 2023

@petr-muller: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

[release-4.11] OCPBUGS-5882: Set upgradeability check throttling period to 2m

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.

@petr-muller
Copy link
Member Author

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@petr-muller: This pull request references Jira Issue OCPBUGS-5882, which is invalid:

  • expected dependent Jira Issue OCPBUGS-5879 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), but it is POST instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

/jira refresh

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-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 19, 2023
@evakhoni
Copy link
Contributor

OCPBUGS-5879 is verified
/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid 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 Jan 22, 2023
@openshift-ci-robot
Copy link
Contributor

@evakhoni: This pull request references Jira Issue OCPBUGS-5882, which is valid.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.11.z) matches configured target version for branch (4.11.z)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • dependent bug Jira Issue OCPBUGS-5879 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE))
  • dependent Jira Issue OCPBUGS-5879 targets the "4.12.z" version, which is one of the valid target versions: 4.12.0, 4.12.z
  • bug has dependents

Requesting review from QA contact:
/cc @evakhoni

Details

In response to this:

OCPBUGS-5879 is verified
/jira refresh

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-robot openshift-ci-robot removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Jan 22, 2023
@openshift-ci openshift-ci bot requested a review from evakhoni January 22, 2023 11:00
@evakhoni
Copy link
Contributor

@petr-muller any changes expected to this PR? I can pre-merge verify if definitely not.

@petr-muller
Copy link
Member Author

@evakhoni nope, no changes expected

/payload-aggregate periodic-ci-openshift-release-master-ci-4.11-upgrade-from-stable-4.10-e2e-azure-upgrade 10

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 22, 2023

@petr-muller: trigger 1 job(s) for the /payload-(job|aggregate) command

  • periodic-ci-openshift-release-master-ci-4.11-upgrade-from-stable-4.10-e2e-azure-upgrade

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/f64c0b50-9aaa-11ed-9aca-6ed2795e5dac-0

@evakhoni
Copy link
Contributor

pre-merge verified in comment-21590007
/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Jan 23, 2023
@evakhoni
Copy link
Contributor

@bandrade any idea who is available to set backport-risk-assessed on this one? tnx!

@petr-muller
Copy link
Member Author

/hold

I'd like to have a better look into some of the results in #885 (comment)

@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 Jan 24, 2023
@petr-muller
Copy link
Member Author

petr-muller commented Jan 24, 2023

The PR works as expected but does not actually fully eliminate the flakes in adminack test, there are still unlucky timing cases. Upgradeability checks may still be done once-per-4-minutes (worst case) and the test only waits for three. This does not mean the CVO fix is broken or not necessary: it still improves a chance of prompt reaction, but the actual worst case expectations need to be 4 minute delay, and the test needs to be adjusted for that.

/hold cancel

@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 Jan 24, 2023
@petr-muller
Copy link
Member Author

@evakhoni backport-risk-assessed is dev team lead's, so @LalatenduMohanty

@LalatenduMohanty
Copy link
Member

/label backport-risk-assessed

Copy link
Member

@LalatenduMohanty LalatenduMohanty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Jan 24, 2023
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 24, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 24, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LalatenduMohanty, petr-muller

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 Jan 24, 2023
Copy link

@bandrade bandrade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/label cherry-pick-approved

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 24, 2023

@bandrade: Can not set label cherry-pick-approved: Must be member in one of these teams: []

Details

In response to this:

/label cherry-pick-approved

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.

@bandrade
Copy link

@evakhoni
Copy link
Contributor

@evakhoni unfortunately I can't help here, the qe-approvals members are https://github.com/openshift/release/blob/721527e9122aea33aa225514d5f59a3ef3523291/core-services/prow/02_config/openshift/cluster-version-operator/_pluginconfig.yaml#L7-L9

well, Jia would not be back until summer, so we have @jianlinliu as the only allowed_user for now.
anyway, tnx for trying!

@petr-muller
Copy link
Member Author

@evakhoni perhaps we should add you to that list? I'm happy to merge such PR.

@evakhoni
Copy link
Contributor

@evakhoni perhaps we should add you to that list? I'm happy to merge such PR.

I think its something we need to discuss with my team first. (although this PR looks perfectly fine to me, speaking generally of being a cherry pick approver)

@jianlinliu
Copy link

/label cherry-pick-approved

@openshift-ci openshift-ci bot added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Jan 28, 2023
@jianlinliu
Copy link

@evakhoni it is okay for me to add you as a qe-approvals member

@openshift-merge-robot openshift-merge-robot merged commit 2b348ca into openshift:release-4.11 Jan 28, 2023
@openshift-ci-robot
Copy link
Contributor

@petr-muller: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-5882 has been moved to the MODIFIED state.

Details

In response to this:

Previously, the throttling reused the minimumUpdateCheckInterval value
which is derived from the full CVO minimum sync period. This value is
set between 2m and 4m at CVO startup. This period is unecessarily long
and bad for UX, things happen with a delay and our own testcase expects
upgradeability to be propagated in 3 minutes at worst.

Hardcode the throttling to 2m (lower bound of previous behavior) to
prevent flapping on flurries but allow changes to propagate
deterministically faster. We will still get a bit of non-determinisim
from sync periods and requeueing, so this change should not cause any
periodic API-hammering.

This is a partial backport of #882. The release-4.11 branch does not contain the fast-mode-with-failing-precondition code from #808 so the refactoring commit from #882 is not applicable nor needed.

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.

@petr-muller petr-muller deleted the ocpbugs-5505-guaranteed-admin-ack-post-upgrade-4.11 branch January 30, 2023 13:32
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. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. qe-approved Signifies that QE has signed off on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants