Skip to content

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #912

/assign wking

…rget version

When changing channels it's possible that multiple new conditional
update risks will need to be evaluated.  For instance, a cluster
running 4.10.34 in a 4.10 channel might only have to evaluate
OpenStackNodeCreationFails.  But when the channel is changed to a 4.11
channel multiple new risks require evaluation and the evaluation of
new risks was throttled at one every 10 minutes.  This means if there
are three new risks it may take up to 20 minutes after the channel has
changed for the full set of conditional updates to be computed.

With this commit, I'm sorting the conditional updates in
version-descending order, which is the order we've used in the
ClusterVersion status since c9dd479 (pkg/cvo/availableupdates:
Sort (conditional)updates, 2021-09-29, openshift#663).  This prioritizes the
longest-hop risks.  For example, 4.10.34 currently has the following
updates:

* 4.10.(z!=38): no risks
* 4.10.38: OpenStackNodeCreationFails
* 4.11.(z<10): ARM64SecCompError524, AWSOldBootImagesLackAfterburn, MachineConfigRenderingChurn, OVNNetworkPolicyLongName
* 4.11.(10<=z<26): ARM64SecCompError524, AWSOldBootImagesLackAfterburn, MachineConfigRenderingChurn
* 4.11.26: ARM64SecCompError524, AWSOldBootImagesLackAfterburn
* 4.11.(27<=z<...): AWSOldBootImagesLackAfterburn

By focusing on the largest target (say 4.11.30), we'd evaluate
AWSOldBootImagesLackAfterburn first.  If it did not match the current
cluster, 4.11.27 and later would be quickly recommended.  It would
take another 10m before the self-throttling allowed us to evaluate
ARM64SecCompError524, and once we had, that would unblock 4.11.26.
Ten minutes after that, we'd evaluate MachineConfigRenderingChurn, and
unblock 4.11.(10<=z<26).  And so on.  But folks on 4.10.34 today are
much more likely to be interested in 4.11.30 and other tip releases
than they are to care about 4.11.10 and other relatively old releases.
@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: Jira Issue OCPBUGS-10221 has been cloned as Jira Issue OCPBUGS-10514. Will retitle bug to link to clone.
/retitle [release-4.12] OCPBUGS-10514: pkg/cvo/availableupdates: Prioritize conditional risks for largest target version

Details

In response to this:

This is an automated cherry-pick of #912

/assign wking

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 [release-4.12] OCPBUGS-10221: pkg/cvo/availableupdates: Prioritize conditional risks for largest target version [release-4.12] OCPBUGS-10514: pkg/cvo/availableupdates: Prioritize conditional risks for largest target version Mar 17, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 17, 2023

@openshift-cherrypick-robot: 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.12] OCPBUGS-10514: pkg/cvo/availableupdates: Prioritize conditional risks for largest target version

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 jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Mar 17, 2023
@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-10514, which is valid. The bug has been moved to the POST state.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.12.z) matches configured target version for branch (4.12.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • dependent bug Jira Issue OCPBUGS-10221 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-10221 targets the "4.13.0" version, which is one of the valid target versions: 4.13.0
  • bug has dependents

Requesting review from QA contact:
/cc @jiajliu

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

Details

In response to this:

This is an automated cherry-pick of #912

/assign wking

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 bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Mar 17, 2023
Copy link
Member

@wking wking left a comment

Choose a reason for hiding this comment

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

/retitle OCPBUGS-10514: pkg/cvo/availableupdates: Prioritize conditional risks for largest target version
/lgtm

@openshift-ci openshift-ci bot changed the title [release-4.12] OCPBUGS-10514: pkg/cvo/availableupdates: Prioritize conditional risks for largest target version OCPBUGS-10514: pkg/cvo/availableupdates: Prioritize conditional risks for largest target version Mar 17, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 17, 2023

@openshift-cherrypick-robot: 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.

Retaining the bugzilla/valid-bug label as it was manually added.

Details

In response to this:

OCPBUGS-10514: pkg/cvo/availableupdates: Prioritize conditional risks for largest target version

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 lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 17, 2023
@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 Mar 20, 2023
@shellyyang1989
Copy link
Contributor

Premerge testing passed.

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Mar 20, 2023
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

@LalatenduMohanty
Copy link
Member

/label backport-risk-assessed

@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 Mar 20, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 20, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LalatenduMohanty, openshift-cherrypick-robot, wking

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:
  • OWNERS [LalatenduMohanty,wking]

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: 0 against base HEAD f30edfb and 2 for PR HEAD ebda83a in total

@wking
Copy link
Member

wking commented Mar 21, 2023

OVN cgroups issues and CSI driver KubePodNotReady are both orthogonal to this change.

/override ci/prow/e2e-agnostic-ovn-upgrade-out-of-change

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 21, 2023

@wking: Overrode contexts on behalf of wking: ci/prow/e2e-agnostic-ovn-upgrade-out-of-change

Details

In response to this:

OVN cgroups issues and CSI driver KubePodNotReady are both orthogonal to this change.

/override ci/prow/e2e-agnostic-ovn-upgrade-out-of-change

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 Mar 21, 2023

@openshift-cherrypick-robot: The following test 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-agnostic-ovn-upgrade-out-of-change ebda83a link true /test e2e-agnostic-ovn-upgrade-out-of-change

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.

@openshift-merge-robot openshift-merge-robot merged commit c6d9baa into openshift:release-4.12 Mar 21, 2023
@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: Jira Issue OCPBUGS-10514: All pull requests linked via external trackers have merged:

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

Details

In response to this:

This is an automated cherry-pick of #912

/assign wking

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.

@wking
Copy link
Member

wking commented Mar 22, 2023

/cherrypick release-4.11

@openshift-cherrypick-robot
Copy link
Author

@wking: new pull request created: #915

Details

In response to this:

/cherrypick 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. 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/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