Red Hat Bugzilla – Bug 974996
If EFI partition exists anaconda try to install despite EFI partition is not set for current installation
Last modified: 2014-10-14 02:39:14 EDT
Version-Release number of selected component:
libreport version: 2.0.9
cmdline: /usr/bin/python /usr/bin/anaconda
: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
: File "/usr/lib/anaconda/gui.py", line 1388, in nextClicked
: File "/usr/lib/anaconda/iw/progress_gui.py", line 79, in renderCallback
: File "/usr/lib/anaconda/gui.py", line 1409, in handleRenderCallback
:NameError: global name 'log' is not defined
Created attachment 762003 [details]
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
- anaconda does not complain about missing EFI partition
- anaconda fails with attached traceback during bootloader installation
- anaconda doesn`t continue without EFI partition
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.
Created attachment 902270 [details]
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.
Created attachment 909095 [details]
traceback - anaconda-13.21.220
Some change happened. Installation still ends with traceback but it differs (see attachment please).
Looks like you are now hitting bug 991620
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.
verified on RHEL-6.6-20140903.0
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.