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

OCPBUGS-8113: daemon: Only switchkernel if we are doing an OS update or kernel change #3600

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

cgwalters
Copy link
Member

This fixes a regression with the previous commit
8ac5bee where we would simply fail to roll out on RT node systems any further MachineConfig changes.

Also of note: It seems like this (quite common thing) is actually not in our CI here nor in the periodics.

This fixes a regression with the previous commit
openshift@8ac5bee
where we would simply fail to roll out on RT node systems any further MachineConfig
changes.
@cgwalters cgwalters changed the title daemon: Only switchkernel if we are doing an OS update or kernel change OCPBUGS-8113: daemon: Only switchkernel if we are doing an OS update or kernel change Mar 9, 2023
@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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Mar 9, 2023
@openshift-ci-robot
Copy link
Contributor

@cgwalters: This pull request references Jira Issue OCPBUGS-8113, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.14.0) matches configured target version for branch (4.14.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @sergiordlr

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

In response to this:

This fixes a regression with the previous commit
8ac5bee where we would simply fail to roll out on RT node systems any further MachineConfig changes.

Also of note: It seems like this (quite common thing) is actually not in our CI here nor in the periodics.

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 9, 2023
@cgwalters
Copy link
Member Author

xref #3599 (comment)

@sinnykumari
Copy link
Contributor

yeah, this makes sense.
Before PR #3580, we were not hitting this issue because it was running rt->rt if condition and in that we run rpm-ostree update which was kind of no-op.
In new flow, we are resetting kernel-rt override first but only during OSUpdate/RT kernel switch. https://github.com/openshift/machine-config-operator/pull/3580/files#diff-349c0748c3f52201852d3027c29daf618b45300b949482728df6666a3f9ba245R2062 but we missed adding this guard during RT kernel apply.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 9, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 9, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, sinnykumari

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:
  • OWNERS [cgwalters,sinnykumari]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sinnykumari
Copy link
Contributor

Don't think blocking this PR for qe is required as this is follow-up PR from QE performing test on OCPBUGS-8113

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 7b3939c and 2 for PR HEAD 1440c41 in total

@cgwalters
Copy link
Member Author

cgwalters commented Mar 9, 2023

Going to
/override ci/prow/e2e-aws-ovn-upgrade
since this is a new CI-wide problem (see openshift/release#37135 )not related to this change, and that job is not using kernel-rt and we have sufficient non-kernel-rt from other jobs.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 9, 2023

@cgwalters: Overrode contexts on behalf of cgwalters: ci/prow/e2e-aws-ovn-upgrade

In response to this:

Going to
/override ci/prow/e2e-aws-ovn-upgrade
since this is a new CI-wide problem not related to this change, and that job is not using kernel-rt and we have sufficient non-kernel-rt from other jobs.

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 9, 2023

@cgwalters: 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-hypershift 1440c41 link false /test e2e-hypershift
ci/prow/okd-scos-e2e-gcp-ovn-upgrade 1440c41 link false /test okd-scos-e2e-gcp-ovn-upgrade
ci/prow/e2e-alibabacloud-ovn 1440c41 link false /test e2e-alibabacloud-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.

@cgwalters
Copy link
Member Author

/skip

@cgwalters
Copy link
Member Author

/cherrypick release-4.13

@openshift-cherrypick-robot

@cgwalters: once the present PR merges, I will cherry-pick it on top of release-4.13 in a new PR and assign it to you.

In response to this:

/cherrypick release-4.13

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.

@sdodson sdodson merged commit 5cf66e8 into openshift:master Mar 9, 2023
@openshift-ci-robot
Copy link
Contributor

@cgwalters: Jira Issue OCPBUGS-8113: All pull requests linked via external trackers have merged:

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

In response to this:

This fixes a regression with the previous commit
8ac5bee where we would simply fail to roll out on RT node systems any further MachineConfig changes.

Also of note: It seems like this (quite common thing) is actually not in our CI here nor in the periodics.

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-cherrypick-robot

@cgwalters: new pull request created: #3602

In response to this:

/cherrypick release-4.13

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/valid-bug Indicates that a referenced Bugzilla bug is valid 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants