Bug 1192786

Summary: [3.5-7.1] Failed to set install bootloader during installing rhevh7.1 in uefi machine via cdrom media
Product: Red Hat Enterprise Virtualization Manager Reporter: haiyang,dong <hadong>
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: wanghui <huiwa>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.0CC: cshao, fdeutsch, gklein, gouyang, hadong, huiwa, leiwang, lsurette, ycui, ykaul, ylavi
Target Milestone: ovirt-3.6.2Keywords: Reopened, ZStream
Target Release: 3.6.0Flags: ylavi: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-3.6.1-5.0.el7ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1198485 (view as bug list) Environment:
Last Closed: 2016-03-09 14:26:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1227752    
Bug Blocks: 1174707, 1198485    
Attachments:
Description Flags
attached Screenshot for failed to set install bootloader screen.jpg
none
attached ovirt.log from /tmp of rhev-hypervisor7-7.1-20150213.0.iso
none
attached var logs for rhev-hypervisor7-7.1-20150213.0.iso none

Description haiyang,dong 2015-02-15 10:10:54 UTC
Created attachment 991902 [details]
attached Screenshot for failed to set install bootloader screen.jpg

Description of problem:
Failed to set install bootloader during installing rhevh7.1 in uefi machine via cdrom media.
(Seen failed to set install bootloader screen.jpg)

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.1-20150213.0.iso
ovirt-node-3.2.1-6.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install rhev-hypervisor7-7.1-20150213.0.iso in uefi machine via cdrom media.
2. Focus on install progress_page

Actual results:
Failed to set install bootloader during installing rhevh7.1 in uefi machine via cdrom media

Expected results:
Install rhev-hypervisor7-7.1-20150213.0.iso in uefi machine via cdrom media successfully.

Additional info:
some log info from /tmp/ovirt.log
-----------------------
2015-02-15 06:19:19,989 - INFO - install - efi detected, installing efi configuration
2015-02-15 06:19:20,006 - DEBUG - ovirtfunctions - mkdir /liveos/efi
2015-02-15 06:19:20,006 - DEBUG - ovirtfunctions - 
2015-02-15 06:19:20,326 - DEBUG - ovirtfunctions - mkdir -p /liveos/efi/EFI/redhat
2015-02-15 06:19:20,326 - DEBUG - ovirtfunctions - 
2015-02-15 06:19:20,339 - DEBUG - ovirtfunctions - udevadm settle
2015-02-15 06:19:20,339 - DEBUG - ovirtfunctions - 
2015-02-15 06:19:20,533 - INFO - ovirtfunctions - Removed EFI boot entry: []
2015-02-15 06:19:20,655 - DEBUG - ovirtfunctions - cp -p /live/isolinux/vmlinuz0 /liveos
2015-02-15 06:19:20,655 - DEBUG - ovirtfunctions - 
2015-02-15 06:19:29,578 - DEBUG - ovirtfunctions - cp -p /live/isolinux/initrd0.img /liveos
2015-02-15 06:19:29,578 - DEBUG - ovirtfunctions - 
2015-02-15 06:19:29,587 - DEBUG - ovirtfunctions - cp -p /live/isolinux/version /liveos
2015-02-15 06:19:29,587 - DEBUG - ovirtfunctions - 
2015-02-15 06:19:42,856 - DEBUG - ovirtfunctions - cp /live/LiveOS/squashfs.img /liveos/LiveOS
2015-02-15 06:19:42,857 - DEBUG - ovirtfunctions - 
2015-02-15 06:19:42,870 - DEBUG - ovirtfunctions - udevadm settle
2015-02-15 06:19:42,870 - DEBUG - ovirtfunctions - 
2015-02-15 06:19:43,044 - DEBUG - ovirtfunctions - echo '/sbin/grub2-install /dev/sda --boot-directory=/liveos/efi --root-directory=/liveos/efi --efi-directory=/liveos/efi --bootloader-id=redhat --force' >> /liveos/efi/cmd
2015-02-15 06:19:43,044 - DEBUG - ovirtfunctions - 
2015-02-15 06:19:43,044 - INFO - install - /sbin/grub2-install /dev/sda --boot-directory=/liveos/efi --root-directory=/liveos/efi --efi-directory=/liveos/efi --bootloader-id=redhat --force
2015-02-15 06:19:43,103 - INFO - install - /sbin/grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.

2015-02-15 06:19:43,104 - ERROR - install - grub2-install Failed
2015-02-15 06:19:43,104 - ERROR - install - Grub2 Installation Failed

Comment 1 haiyang,dong 2015-02-15 10:12:07 UTC
Created attachment 991903 [details]
attached ovirt.log from /tmp of rhev-hypervisor7-7.1-20150213.0.iso

Comment 2 haiyang,dong 2015-02-15 10:12:45 UTC
Created attachment 991904 [details]
attached var logs for rhev-hypervisor7-7.1-20150213.0.iso

Comment 5 haiyang,dong 2015-02-27 05:37:51 UTC
Test version:
rhev-hypervisor7-7.1-20150226.0.iso
ovirt-node-3.2.1-7.el7.noarch

Test steps:
1. Install rhev-hypervisor7-7.1-20150226.0.iso in uefi machine via cdrom media.
2. Focus on install progress_page

Test result:
Install rhev-hypervisor7-7.1-20150226.0.iso in uefi machine via cdrom media successfully.

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

Comment 9 wanghui 2016-02-04 06:57:01 UTC
Test version:
rhev-hypervisor7-7.2-20160126.0
ovirt-node-3.6.1-5.0.el7ev.noarch

Test steps:
1. Install rhev-hypervisor7-7.2-20160126.0 in uefi machine via cdrom media.
2. Focus on install progress_page

Test result:
1. Install succeed on UEFI machine.

So this issue is fixed in ovirt-node-3.6.1-5.0.el7ev.noarch.

Comment 11 errata-xmlrpc 2016-03-09 14:26:07 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.

https://rhn.redhat.com/errata/RHBA-2016-0378.html