Description of problem: Can't reinstall rhev-hypervisor6-6.6-20141027.0.iso via pxe on physical machine- Exception: RuntimError('Failed to set install bootloader',) appears at 80% of installation. 2014-10-27 12:10:27,004 - DEBUG - ovirtfunctions - 2014-10-27 12:10:27,004 - DEBUG - install - grub --device-map=/liveos/grub/device.map <<EOF root (hd0,2) setup --prefix=/grub (hd0) EOF 2014-10-27 12:10:27,041 - DEBUG - install - GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.] grub> root (hd0,2) Filesystem type is ext2fs, partition type 0x83 grub> setup --prefix=/grub (hd0) Checking if "/grub/stage1" exists... no Error 15t: File not found grub> 2014-10-27 12:10:27,041 - ERROR - install - GRUB setup failed 2014-10-27 12:10:27,041 - ERROR - install - Grub Installation Failed Version-Release number of selected component (if applicable): rhev-hypervisor6-6.6-20141027.0.iso ovirt-node-3.0.1-19.el6.21.noarch.rpm How reproducible: 20% Steps to Reproduce: 1.Boot rhev-hypervisor6-6.6-20141027.0.iso from pxe server 2.Choose reinstall rhev-hypervisor6-6.6-20141027.0.iso on physical machine Actual results: Sometimes reinstall this iso failed in "set install bootloader" Expected results: reinstall rhev-hypervisor6-6.6-20141027.0.iso via pxe on physical machine success Additional info:
Created attachment 951369 [details] attached ovirt.log from /tmp of rhev-hypervisor6-6.6-20141007.0.iso
Created attachment 951370 [details] attached logs for from /var/log of rhev-hypervisor6-6.6-20141007.0.iso
I've also tried to reproduce this 25 times with PXE. 25 dirty reinstall attempts with CD. No reproducers. 25 dirty reinstall attempts with PXE. No reproducers. Please provide as much detail as possible on how to reproduce this. Kernel arguments, method used, how many installs have occurred previously, etc. An sosreport may even be helpful at this point.
Created attachment 951682 [details] also attached ovirt.log from /tmp of rhev-hypervisor6-6.6-20141029.0.iso
Created attachment 951684 [details] also attached logs from /var/log of rhev-hypervisor6-6.6-20141029.0.iso
Use 'lsblk' to see who holds /dev/sda3 device (i.e. it could be possibly used as PV)?
This bug can now be reproduced in one out of 10 trials (10%).
(In reply to Fabian Deutsch from comment #31) > This bug can now be reproduced in one out of 10 trials (10%). This was incorrect, let me clarify below. (In reply to haiyang,dong from comment #30) ... > > > > Third is writing an msdos disklabel, then a GPT disklabel: .. > Sometimes reinstall this iso via pxe in dirty disk still failed in Grub > Installation Failed issue. > See ovirt-20141103.0.third.log from ovirt-log.tar to check THIS build is lowering the reproducability to 10%.
*** Bug 1032420 has been marked as a duplicate of this bug. ***
This bug has been fixed in rhevh 6.6 for RHEV 3.4.z bulid version: rhev-hypervisor6-6.6-20141106.1.iso ovirt-node-3.0.1-19.el6.22 dirty reinstall rhev-hypervisor6-6.6-20141106.1.iso with PXE in FC/ISCSI/CCISS/Local storage machine, No reproducers.
This bug target is 3.5, so need this issue to fix in rhevh for rhev 3.4.z as well.
Also this bug has been fixed in rhevh 6.6 for RHEV 3.5 bulid version: rhev-hypervisor6-6.6-20141107.0.iso ovirt-node-3.1.0-0.25.20141107gitf6dc7b9.el6.noarch dirty reinstall rhev-hypervisor6-6.6-20141107.0.iso with PXE in FC/ISCSI/CCISS/Local storage machine, No reproducers. According to Comment 37 and Comment 39, so this bug has been fixed, change the status into "VERIFIED".
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/RHEA-2015-0160.html