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-23085: MCO duplicates kernel arguments during firstboot #4046
OCPBUGS-23085: MCO duplicates kernel arguments during firstboot #4046
Conversation
@ori-amizur: This pull request references Jira Issue OCPBUGS-23085, which is invalid:
Comment 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 kubernetes/test-infra repository. |
/jira refresh |
@ori-amizur: This pull request references Jira Issue OCPBUGS-23085, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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 kubernetes/test-infra repository. |
During firstboot, if a kernel argument appears both in the boot command line and in the encapsulated machine config, this kernel argument is duplicated. The reason for that is that current running configuration is not taken into account when updating the configuration before reboot. The solution is to use the current running configuration when updating during firstboot.
4b99f54
to
dc8e0aa
Compare
/retest |
/test e2e-hypershift |
/retest |
/test e2e-hypershift |
/hold for pre-merge testing if possible |
Pre-merge verified using SNO and the assisted installer. Without the fix we were able to reproduce the problem configuring a "psi=1" kernel argument. We could see the duplicated kernel arg here:
When we used the image with the fix we could see that the kernel argument was not duplicated anymore
We can add the qe-approved label. Thank you very much @ori-amizur for helping us and doing all the hard work in this verification process. I very much appreciate it. Thanks!! |
@ori-amizur: This pull request references Jira Issue OCPBUGS-23085, which is invalid:
Comment 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 kubernetes/test-infra repository. |
/jira refresh |
@sinnykumari: This pull request references Jira Issue OCPBUGS-23085, which is valid. 3 validation(s) were run on this bug
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 kubernetes/test-infra repository. |
Removing hold since qe testing has been done |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cdoern, ori-amizur, 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:
Approvers can indicate their approval by writing |
/retest |
1 similar comment
/retest |
/retest |
/test e2e-hypershift |
@ori-amizur: all tests passed! 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. |
@ori-amizur: Jira Issue OCPBUGS-23085: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-23085 has been moved to the MODIFIED state. 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 kubernetes/test-infra repository. |
[ART PR BUILD NOTIFIER] This PR has been included in build openshift-proxy-pull-test-container-v4.16.0-202312131413.p0.g8477a99.assembly.stream for distgit openshift-proxy-pull-test. |
During firstboot, if a kernel argument appears both in the boot command line and in the encapsulated machine config, this kernel argument is duplicated.
The reason for that is that current running configuration is not taken into account when updating the configuration before reboot. The solution is to use the current running configuration when updating during firstboot.
Fixes: OCPBUGS-23085
- What I did
Use the current running configuration when updating in firstboot.
- How to verify it
Add a kernel argument that appears also in the machine-config to firstboot, and see that it is not duplicated after reboot.
- Description for the changelog
Do not duplicate kernel arguments if they are present during firstboot
/cc @sinnykumari