Bug 1025733

Summary: anaconda: BootLoaderError: failed to write bootloader configuration (iSCSI boot)
Product: Red Hat Enterprise Linux 7 Reporter: Bruno Goncalves <bgoncalv>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED DUPLICATE QA Contact: Bruno Goncalves <bgoncalv>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: bgoncalv, dshea, sbueno
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-01 13:19:14 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
anaconda.log
none
ifcfg.log
none
packaging.log
none
program.log
none
storage.log
none
syslog none

Description Bruno Goncalves 2013-11-01 12:01:27 UTC
Description of problem:
Trying to install RHEL7 on a iSCSI boot server causes an error when writing bootloader.

anaconda 19.31.31-1 exception report 
Traceback (most recent call first): 
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1532, in write_config 
    raise BootLoaderError("failed to write bootloader configuration") 
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1571, in write 
    self.write_config() 
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 2365, in writeBootLoader 
    storage.bootloader.write() 
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 175, in doInstall 
    writeBootLoader(storage, payload, instClass, ksdata) 
  File "/usr/lib64/python2.7/threading.py", line 764, in run 
    self.__target(*self.__args, **self.__kwargs) 
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run 
    threading.Thread.run(self, *args, **kwargs) 
BootLoaderError: failed to write bootloader configuration 


Version-Release number of selected component (if applicable):
anaconda 19.31.31-1

How reproducible:
100%

Steps to Reproduce:
1.Start installing RHEL7 on iSCSI boot system.

2.Error happens at the end of the installation when "Installing bootloader"

Comment 1 David Shea 2013-11-01 12:09:35 UTC
Please attach the log files from /tmp to this bug.

This is probably a duplicate of bug 1025500

Comment 2 Bruno Goncalves 2013-11-01 12:17:52 UTC
Created attachment 818274 [details]
anaconda.log

Comment 4 Bruno Goncalves 2013-11-01 12:18:45 UTC
Created attachment 818276 [details]
ifcfg.log

Comment 5 Bruno Goncalves 2013-11-01 12:19:15 UTC
Created attachment 818277 [details]
packaging.log

Comment 6 Bruno Goncalves 2013-11-01 12:19:45 UTC
Created attachment 818278 [details]
program.log

Comment 7 Bruno Goncalves 2013-11-01 12:21:14 UTC
Created attachment 818279 [details]
storage.log

Comment 8 Bruno Goncalves 2013-11-01 12:21:34 UTC
Created attachment 818280 [details]
syslog

Comment 9 Samantha N. Bueno 2013-11-01 13:19:14 UTC
(In reply to David Shea from comment #1)
> Please attach the log files from /tmp to this bug.
> 
> This is probably a duplicate of bug 1025500

Yep, same message in program.log:

10:31:53,885 INFO program: Running... grub2-mkconfig -o /boot/grub2/grub.cfg
10:31:54,456 INFO program: Generating grub.cfg ...
10:31:54,457 INFO program: Found linux image: /boot/vmlinuz-3.10.0-40.el7.x86_64
10:31:54,457 INFO program: Found initrd image: /boot/initramfs-3.10.0-40.el7.x86_64.img
10:31:54,457 INFO program: /etc/grub.d/10_linux: line 83: 16bit=: command not found
10:31:54,457 DEBUG program: Return code: 127

*** This bug has been marked as a duplicate of bug 1025500 ***