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.

Bug 901473

Summary: The /EFI/redhat/grub.conf missed backup version after upgrade rhev-h via rhevm in uefi mode
Product: Red Hat Enterprise Linux 6 Reporter: haiyang,dong <hadong>
Component: ovirt-nodeAssignee: Joey Boggs <jboggs>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.4CC: acathrow, bsarathy, chchen, cshao, fdeutsch, gouyang, hadong, hambrose, jboggs, leiwang, mburns, ovirt-maint, thildred, tlavigne, ycui
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-2.5.0-17.el6 Doc Type: Bug Fix
Doc Text:
Previously, after a successful upgrade of a Red Hat Enterprise Virtualization Hypervisor node installed on EFI, the grub boot menu only contained an entry to boot the updated kernel. It was not possible to roll back in the event of a bad install or some other incompatibility with a new build. Now, a fall-back option is left in the grub menu in case the previous kernel is required.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-28 16:47:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
attached the ovirt.log none

Description haiyang,dong 2013-01-18 09:51:09 UTC
Created attachment 682246 [details]
attached the ovirt.log

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 rhevm in uefi mode,the /EFI/redhat/grub.conf missed backup version

No this issue when upgrade rhev-h via tui/cmdline in uefi mode

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.4-20130116.3

How reproducible:
100%

Steps to Reproduce:
1.install the rhev-hypervisor6-6.4-20130116.3 in uefi mode.
2.upgrade the rhev-h via rhevm in uefi mode.

Actual result:
After upgrade rhev-h from rhev-hypervisor6-6.4-20130116.3 to rhev-hypervisor6-6.4-20130116.3 via rhevm in uefi mode.
we only selected the new version to boot,the /EFI/redhat/grub.conf missed the backup version part

[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,8ffb5979-4efc-4177-80a4-31b50fc172aa)
default saved
timeout 5
hiddenmenu
splashimage=(hd0,1)/grub/splash.xpm.gz
title RHEV Hypervisor 6.4-20130116.3
    root (hd0,1)
    kernel /vmlinuz0 root=live:LABEL=Root ro rootfstype=auto rootflags=ro crashkernel=128M elevator=deadline rhgb quiet rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0 max_loop=256
    initrd /initrd0.img
    [root@localhost admin]# 

Expect result:
The /EFI/redhat/grub.conf could save the backup version part when upgrade rhev-h via rhevm in uefi mode

Comment 18 haiyang,dong 2013-02-01 02:37:33 UTC
Test version:
rhev-hypervisor6-6.4-20130130.0.0.el6
ovirt-node-2.5.0-17.el6.noarch

After upgrade success and reboot, there two version can be selected to boot, also enter the latest version, check that 
[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,44e127b7-6bc8-4efa-ba54-da9b92e9b2e5)
default saved
timeout 5
hiddenmenu
splashimage=(hd0,1)/grub/splash.xpm.gz
title RHEV Hypervisor 6.4-20130130.0
    root (hd0,1)
    kernel /vmlinuz0 root=live:LABEL=Root ro rootfstype=auto rootflags=ro crashkernel=128M elevator=deadline rhgb quiet rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0 max_loop=256
    initrd /initrd0.img
    
title BACKUP RHEV Hypervisor 6.4-20130130.0
    root (hd0,2)
    kernel /vmlinuz0 root=live:LABEL=RootBackup ro rootfstype=auto rootflags=ro crashkernel=128M elevator=deadline rhgb quiet rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0 max_loop=256
    initrd /initrd0.img
    savedefault

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

Comment 22 errata-xmlrpc 2013-02-28 16:47:40 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