## Description of problem: When updating rhv-h via the RHV gui, defined kernel options go missing ## Version-Release number of selected component (if applicable): ovirt-engine-4.4.3.12-0.1.el8ev.noarch rhvh-4.4.6.1-0.20210527.0 (new version) rhvh-4.4.3.1-0.20201116.0 (previous version) ## How reproducible: Always ## Steps to Reproduce: 1. Add a new host, with defined kernel options (ie "console=tty0 console=ttyS1,115200") 2. Reboot to ensure host has booted with defined kernel options 3. put host back into maintenance and upgrade ## Actual results: The system comes up into new image, but without the defined kernel options present ("console=tty0 console=ttyS1,115200") ## Expected results: When upgrading via the gui, the host should maintain the previously defined kernel options. ## Additional info: If i put the host back into maintenance again, do a 'Reinstall' via the gui, then reboot, kernel options are back. Is the user expected to perform this additional step each time? It's unclear if this was working at some point then stopped, or if it never worked after the first rhv-h 4.4 host was initialy installed.
Lev, is this handled by imgbased or should it be handled by ansible upgrade code on the engine side?
I tested this with CentOS, and it looks like even there the options don't survive kernel upgrade - they're only applied to the default kernel, and don't appear for the upgraded one. Moving to infra.
Thank you Lev - yes just to clarify, I was adding the kernel options by the RHV gui (click Hosts tab, click on host and press 'edit', click on 'Kernel', enter additional options in the 'Kernel command line' option (at the bottom))
(In reply to Marcus West from comment #9) > Thank you Lev - yes just to clarify, I was adding the kernel options by the > RHV gui (click Hosts tab, click on host and press 'edit', click on 'Kernel', > enter additional options in the 'Kernel command line' option (at the bottom)) Thanks Marcus, that's what I thought, but wanted to verify that.
Sent a patch to fix the issue for RHEL/CentOS/CentOS Stream. Another patch that will save/update the kernel args to some pre-agreed file under /boot is still required, so that imgbase could use these parameters during image upgrade.
Let's fix the issue for RHEL-H, doing that properly for RHV-H is an RFE.
Sent another patch for saving the kernel arguments to the file, that will become the interface for the imgbase.
tested on rhel based host
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (RHV Manager (ovirt-engine) [ovirt-4.4.8]), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3460
Due to QE capacity, we are not going to cover this issue in our automation