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.
Bug 880030 - The /EFI/redhat/grub.conf missed backup version and the grub title does not update to latest after upgrade rhev-h via cmdline in uefi mode
Summary: The /EFI/redhat/grub.conf missed backup version and the grub title does not u...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-26 03:37 UTC by haiyang,dong
Modified: 2013-02-28 16:46 UTC (History)
13 users (show)

Fixed In Version: ovirt-node-2.5.0-10.el6
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2013-02-28 16:46:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0556 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2013-02-28 21:29:06 UTC

Description haiyang,dong 2012-11-26 03:37:10 UTC
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

Comment 5 haiyang,dong 2012-12-19 02:38:33 UTC
Test version:
rhev-hypervisor6-6.4-20121212.1.el6 
ovirt-node-2.5.0-11.el6

Tested as follows:
1.install the rhev-h in uefi mode.
2.upgrade the rhev-h via cmdline in uefi mode.

[root@localhost admin]# mount /dev/mapper/1ATA_SAMSUNG_HD322GM_S2PAJ90B519911p1 /mnt
[root@localhost admin]# cat /mnt/EFI/redhat/grub.conf 
device (hd0) HD(1,800,79800,8fbadf70-7650-4104-8447-1f46e41fddc3)
default saved
timeout 5
hiddenmenu
splashimage=(hd0,1)/grub/splash.xpm.gz
title RHEV Hypervisor 6.4-20121212.1
    root (hd0,1)
    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
    
title BACKUP RHEV Hypervisor 6.4-20121212.1
    root (hd0,2)
    kernel /vmlinuz0 root=live:LABEL=RootBackup 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
    savedefault
    [root@localhost admin]# 

so this bug has been fixed, change the status into "VERIFIED"

Comment 7 errata-xmlrpc 2013-02-28 16:46:04 UTC
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


Note You need to log in before you can comment on or make changes to this bug.