Created attachment 1860269 [details] /var/log Description of problem: Modify /boot/grub2/grubenv manually, remove some padding characters to make the file size less than 1024 bytes, then upgrade RHVH, after upgrade, the default layer of the host is the old layer not the new layer. Version-Release number of selected component (if applicable): RHVH: Upgrade RHVH from rhvh-4.4.9.4-0.20220107.0+1 to rhvh-4.4.10.1-0.20220208.0+1 RHVM: 4.4.10.5-0.2.el8ev How reproducible: 100% Steps to Reproduce: 1. Install "redhat-virtualization-host-4.4.9-202201072228_8.5" and reboot 2. Remove some padding characters in grubenv to make file size less than 1024 bytes 3. Setup upgrade repo in RHVH and point to "redhat-virtualization-host-4.4.10-202202081536_8.5" 4. Add the host to RHVM 5. Upgrade the host via RHVM 6. After upgrade, check the default layer on the host Actual results: The default layer on the host is the old layer "rhvh-4.4.9.4-0.20220107.0+1" not the new layer "rhvh-4.4.10.1-0.20220208.0+1". Expected results: The default layer on the host is the new layer "rhvh-4.4.10.1-0.20220208.0+1" Additional info:
Closing as not a bug. GRUB requires grubenv to be exactly 1kb so removing bytes from it is not something we can support.