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 974996

Summary: If EFI partition exists anaconda try to install despite EFI partition is not set for current installation
Product: Red Hat Enterprise Linux 6 Reporter: Petr Janda <pjanda>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: mganisin, sbueno
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:8336eb28f01dd4827a35ef2ab1a7ae0cf1ab05380334e4390c790e0b1045b33c
Fixed In Version: anaconda-13.21.219-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 06:39:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1083985    
Bug Blocks: 972747    
Attachments:
Description Flags
anaconda-tb-wpAmTh
none
untested patch
none
traceback - anaconda-13.21.220 none

Description Petr Janda 2013-06-17 10:37:56 UTC
Version-Release number of selected component:
anaconda-13.21.195

Additional info:
libreport version: 2.0.9
cmdline:        /usr/bin/python  /usr/bin/anaconda
kernel:         2.6.32-381.el6.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 13.21.195 exception report
:Traceback (most recent call first):
:  File "/usr/lib/anaconda/booty/bootloaderInfo.py", line 683, in addNewEfiEntry
:    log.error("No partition for bootdev '%s'" % (bootdev,))
:  File "/usr/lib/anaconda/booty/bootloaderInfo.py", line 754, in installGrub
:    return self.addNewEfiEntry(instRoot)
:  File "/usr/lib/anaconda/booty/x86.py", line 127, in installGrub
:    grubPath, cfPath)
:  File "/usr/lib/anaconda/booty/x86.py", line 238, in writeGrub
:    ret = self.installGrub(instRoot, bootDev, grubTarget, grubPath, cfPath)
:  File "/usr/lib/anaconda/booty/x86.py", line 535, in write
:    not self.useGrubVal)
:  File "/usr/lib/anaconda/bootloader.py", line 238, in writeBootloader
:    kernelList, otherList, defaultDev)
:  File "/usr/lib/anaconda/dispatch.py", line 210, in moveStep
:    rc = stepFunc(self.anaconda)
:  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
:    self.moveStep()
:  File "/usr/lib/anaconda/gui.py", line 1388, in nextClicked
:    self.anaconda.dispatch.gotoNext()
:  File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
:    self.intf.icw.nextClicked()
:  File "/usr/lib/anaconda/gui.py", line 1409, in handleRenderCallback
:    self.currentWindow.renderCallback()
:NameError: global name 'log' is not defined

Comment 2 Petr Janda 2013-06-17 11:09:04 UTC
Created attachment 762003 [details]
anaconda-tb-wpAmTh

Comment 3 Petr Janda 2013-06-17 11:26:17 UTC
Steps to reproduce:

1. On HDD old installation including EFI partition exists
2. Start new installation
3. Select "Custom partitioning"
4. Select proper partition/lvm for reformat as / DONOT select any EFI partition
5. Continue

Current result
- anaconda does not complain about missing EFI partition
- anaconda fails with attached traceback during bootloader installation

Expected result
- anaconda doesn`t continue without EFI partition

Comment 4 Samantha N. Bueno 2013-07-11 13:08:32 UTC
The traceback is occurring not because of the missing EFI partition, but because someone added a log statement and forgot to import our logging module.

Regardless, this missed the cut-off for 6.5; pushing off to 6.6 planning.

Comment 5 Brian Lane 2014-06-04 17:40:22 UTC
Created attachment 902270 [details]
untested patch

Comment 6 RHEL Program Management 2014-06-04 17:50:12 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 7 Petr Janda 2014-06-16 11:46:09 UTC
Created attachment 909095 [details]
traceback - anaconda-13.21.220

Some change happened. Installation still ends with traceback but it differs (see attachment please).

Comment 8 Brian Lane 2014-06-16 18:53:03 UTC
Looks like you are now hitting bug 991620

Comment 9 Petr Janda 2014-06-17 08:26:57 UTC
Yes, it looks like it. Although there is no more logs or at least information it is UEFI machine.

Let`s consider this (974996) bug solved and continue with bug 991620.
I will add information there.

Comment 11 Petr Janda 2014-09-10 11:21:17 UTC
verified on RHEL-6.6-20140903.0
anaconda 13.21.227

Comment 12 errata-xmlrpc 2014-10-14 06:39:14 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-1380.html