Bug 1021353

Summary: The grub miss the backup version after upgrade in uefi machines.
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.5CC: acathrow, bsarathy, cboyle, cshao, fdeutsch, gouyang, hadong, huiwa, jboggs, leiwang, mburns, ovirt-maint, ycui
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-3.0.1-8.el6 Doc Type: Bug Fix
Doc Text:
The grub was missing the backup version after upgrading in uefi machines. This meant that backup boot entries were not created in the grub config. The backup entries are now correctly created.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 19:55:25 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:

Description haiyang,dong 2013-10-21 07:07:06 UTC
Description of problem:
The grub miss the backup version after upgrade in uefi machines.

e.g. 
1. upgrade form rhev-hypervisor6-6.5-20131017.0.iso to itself.


Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20131017.0.iso
ovirt-node-3.0.1-4.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install rhev-hypervisor6-6.5-20131017.0.iso to uefi machine.
2. Upgrade rhevh to latest version 
3. focus on grub.
  
Actual results:
1. The grub miss the backup version after upgrade in UEFI machine.
2. No such issue in legacy(non-uefi) machines.

Expected results:
Gurb can save the backup version part after upgrade.

Additional info:

Comment 2 haiyang,dong 2013-10-21 10:09:17 UTC
No this issue in rhev-h 6.4.z, so it's a regression bug

Comment 9 haiyang,dong 2013-12-16 07:29:33 UTC
Test version:
ovirt-node-3.0.1-9.el6_5.noarch.rpm
rhevh-6.5-20131213.0.0.iso

Test as the follow steps:
1. Install rhevh-6.5-20131213.0.0.iso to uefi machine.
2. Upgrade rhevh to itself.
3. focus on grub.

Test results:
Gurb can save the backup version part after upgrade.

[root@dhcp-8-154 admin]# cat /mnt/EFI/redhat/grub.conf 
device (hd0) HD(1,800,79800,8e6fb9da-6d32-4fd7-ba7e-32b96eb40130)
default saved
timeout 5
hiddenmenu
splashimage=(hd0,1)/grub/splash.xpm.gz
title RHEV Hypervisor 6.5-20131213.0
    root (hd0,1)
    kernel /vmlinuz0 root=live:LABEL=Root ro rootfstype=auto rootflags=ro LANG=en_US.utf8 crashkernel=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.5-20131213.0
    root (hd0,2)
    kernel /vmlinuz0 root=live:LABEL=RootBackup ro rootfstype=auto rootflags=ro LANG=en_US.utf8 crashkernel=128M elevator=deadline rhgb quiet  rd_NO_LVM rd.luks=0 rd.md=0 rd.dm=0
    initrd /initrd0.img
    savedefault


so this bug has been fixed, after the status of this bug changed into "ON_QA", i'll verify it.

Comment 10 haiyang,dong 2013-12-17 02:01:44 UTC
According to comment 9, change it into "verified".

Comment 11 Cheryn Tan 2014-01-08 05:35:50 UTC
This bug is currently attached to errata RHBA-2013:15277. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:
https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes

Thank you for your help.

Comment 12 Charlie 2014-01-15 00:18:19 UTC
Hiya, could you let me know what the problem was and what the fix was for the doc text? Thanks.

Comment 13 haiyang,dong 2014-01-21 08:26:59 UTC
Also this bug was fixed in the follow version:
rhevh-6.5-20140110.1
ovirt-node-3.0.1-16.el6_5.noarch

Comment 15 errata-xmlrpc 2014-01-21 19:55:25 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-2014-0033.html