-
Notifications
You must be signed in to change notification settings - Fork 412
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-43896: add revert logic to OCL path in MCD #4825
base: master
Are you sure you want to change the base?
OCPBUGS-43896: add revert logic to OCL path in MCD #4825
Conversation
Skipping CI for Draft Pull Request. |
@cheesesashimi: This pull request references Jira Issue OCPBUGS-43896, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
@cheesesashimi: This pull request references Jira Issue OCPBUGS-43896, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
9fded41
to
c93fcf6
Compare
Hello! After breaking the reboot process what we get is this error instead of one reporting the broken reboot:
|
c93fcf6
to
15a2123
Compare
@sergiordlr Just pushed a fix for that. |
This was needed because if there was a problem rebooting, the MCDRebootError would never be surfaced. Additionally, the degraded message would not include that. This fixes that problem by adding revert code and also makes the OCL update path more similar to the non-OCL update path.
15a2123
to
88a85e2
Compare
/test e2e-gcp-op-ocl e2e-hypershift |
Verified using IPI on AWS Test case "[sig-mco] MCO alerts Author:sregidor-NonHyperShiftHOST-NonPreRelease-Longduration-Medium-63865-[P1] MCDRebootError alert[Disruptive] [Serial]" passed with and without OCL /label qe-approved |
/test e2e-hypershift e2e-azure-ovn-upgrade-out-of-change |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheesesashimi, dkhater-redhat 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 |
LGTM |
@cheesesashimi: The following tests failed, say
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-sigs/prow repository. I understand the commands that are listed here. |
- What I did
If a problem occurs while attempting to reboot a given node while OCL is enabled, the degradation message did not indicate what the problem was. Instead, it would indicate a problem with rpm-ostree because it would attempt to reapply the same image, which it can't do. Additionally, the MCDRebootError metric was not being surfaced in certain cases (although I did not actually observe this to be the case).
To remedy this, I did the following:
- How to verify it
$ oc debug node-name -- chroot /host sh -c "mount -o remount,rw /usr; mv /usr/bin/systemd-run /usr/bin/systemd-run2"
$ oc debug node-name -- chroot /host sh -c "mount -o remount,rw /usr; mv /usr/bin/systemd-run2 /usr/bin/systemd-run"
.- Description for the changelog
Make MCDRebootErrors clearer for OCL