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 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 ***