Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Previously, a successful kernel upgrade of a Red Hat Enterprise Virtualization Hypervisor node in UEFI mode updated the backup boot option in /grub/grub.conf instead of /EFI/redhat/grub.conf. Booting the backup option from the grub menu in UEFI mode failed as a result.
Now, the correct grub configuration is updated on upgrade, and the backup kernel boot option works as expected in UEFI mode.
Description of problem:
In fact, rhev-h used the /EFI/redhat/grub.conf in /dev/mapper/36782bcb03cdfa200174636ff055184dcp1 to boot rhev-h under uefi mode.
But when upgrade rhev-h via cmdline in uefi mode, rhev-h still saved the backup version in the /grub/grub.conf of /dev/mapper/36782bcb03cdfa200174636ff055184dcp3
So that when upgrade rhev-h via cmdline in uefi mode success, it couldn't find to the backup version to boot.
Also noticed that the grub title does not update to latest in the /EFI/redhat/grub.conf.
No this issue when upgrade rhev-h via tui/rhev-m in uefi mode
Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.4-20121031.0.el6
How reproducible:
100%
Steps to Reproduce:
1.install the old rhev-h in uefi mode.
2.upgrade the rhev-h via cmdline in uefi mode.
Actual result:
After upgrade rhev-h from rhev-hypervisor6-6.4-20121031.0.el6 to rhev-hypervisor6-6.4-20121120.0.el6 via cmdline in uefi mode.
we only selected the new version to boot,the /EFI/redhat/grub.conf missed the backup version part
[root@dell-per510-01 admin]# mount /dev/mapper/36782bcb03cdfa200174636ff055184dcp1 /mnt
[root@dell-per510-01 admin]# mount
..........
/dev/mapper/36782bcb03cdfa200174636ff055184dcp3 on /dev/.initramfs/live type unknown (ro)
/dev/mapper/36782bcb03cdfa200174636ff055184dcp1 on /mnt type vfat (rw)
...........
[root@dell-per510-01 admin]# cat /mnt/EFI/redhat/grub.conf
device (hd0) HD(1,800,79800,739c6818-37e6-4783-bf1f-102d1c056e82)
default saved
timeout 5
hiddenmenu
splashimage=(hd0,2)/grub/splash.xpm.gz
title RHEV Hypervisor 6.4-20121031.0.el6
root (hd0,2)
kernel /vmlinuz0 root=live:LABEL=Root ro rootfstype=auto rootflags=ro crashkernel=512M-2G:64M,2G-:128M elevator=deadline rhgb quiet rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0
initrd /initrd0.img
[root@dell-per510-01 admin]# cat /dev/.initramfs/live/grub/grub.conf
default saved
timeout 5
hiddenmenu
title Red Hat Enterprise Virtualization Hypervisor (6.4-20121120.0)
root (hd0,2)
kernel /vmlinuz0 root=live:LABEL=Root ro rootfstype=ext2 rootflags=ro crashkernel=512M-2G:64M,2G-:128M elevator=deadline rhgb quiet rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0
initrd /initrd0.img
title BACKUP Red Hat Enterprise Virtualization Hypervisor (6.4-20121031.0.el6)
root (hd0,1)
kernel /vmlinuz0 root=live:LABEL=RootBackup ro rootfstype=ext2 rootflags=ro crashkernel=512M-2G:64M,2G-:128M elevator=deadline rhgb quiet rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0
initrd /initrd0.img
savedefault
Expect result:
The /EFI/redhat/grub.conf could save the backup version part when upgrade rhev-h via cmdline in uefi mode
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2013-0556.html
Description of problem: In fact, rhev-h used the /EFI/redhat/grub.conf in /dev/mapper/36782bcb03cdfa200174636ff055184dcp1 to boot rhev-h under uefi mode. But when upgrade rhev-h via cmdline in uefi mode, rhev-h still saved the backup version in the /grub/grub.conf of /dev/mapper/36782bcb03cdfa200174636ff055184dcp3 So that when upgrade rhev-h via cmdline in uefi mode success, it couldn't find to the backup version to boot. Also noticed that the grub title does not update to latest in the /EFI/redhat/grub.conf. No this issue when upgrade rhev-h via tui/rhev-m in uefi mode Version-Release number of selected component (if applicable): rhev-hypervisor6-6.4-20121031.0.el6 How reproducible: 100% Steps to Reproduce: 1.install the old rhev-h in uefi mode. 2.upgrade the rhev-h via cmdline in uefi mode. Actual result: After upgrade rhev-h from rhev-hypervisor6-6.4-20121031.0.el6 to rhev-hypervisor6-6.4-20121120.0.el6 via cmdline in uefi mode. we only selected the new version to boot,the /EFI/redhat/grub.conf missed the backup version part [root@dell-per510-01 admin]# mount /dev/mapper/36782bcb03cdfa200174636ff055184dcp1 /mnt [root@dell-per510-01 admin]# mount .......... /dev/mapper/36782bcb03cdfa200174636ff055184dcp3 on /dev/.initramfs/live type unknown (ro) /dev/mapper/36782bcb03cdfa200174636ff055184dcp1 on /mnt type vfat (rw) ........... [root@dell-per510-01 admin]# cat /mnt/EFI/redhat/grub.conf device (hd0) HD(1,800,79800,739c6818-37e6-4783-bf1f-102d1c056e82) default saved timeout 5 hiddenmenu splashimage=(hd0,2)/grub/splash.xpm.gz title RHEV Hypervisor 6.4-20121031.0.el6 root (hd0,2) kernel /vmlinuz0 root=live:LABEL=Root ro rootfstype=auto rootflags=ro crashkernel=512M-2G:64M,2G-:128M elevator=deadline rhgb quiet rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0 initrd /initrd0.img [root@dell-per510-01 admin]# cat /dev/.initramfs/live/grub/grub.conf default saved timeout 5 hiddenmenu title Red Hat Enterprise Virtualization Hypervisor (6.4-20121120.0) root (hd0,2) kernel /vmlinuz0 root=live:LABEL=Root ro rootfstype=ext2 rootflags=ro crashkernel=512M-2G:64M,2G-:128M elevator=deadline rhgb quiet rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0 initrd /initrd0.img title BACKUP Red Hat Enterprise Virtualization Hypervisor (6.4-20121031.0.el6) root (hd0,1) kernel /vmlinuz0 root=live:LABEL=RootBackup ro rootfstype=ext2 rootflags=ro crashkernel=512M-2G:64M,2G-:128M elevator=deadline rhgb quiet rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0 initrd /initrd0.img savedefault Expect result: The /EFI/redhat/grub.conf could save the backup version part when upgrade rhev-h via cmdline in uefi mode