Bug 973355

Summary: sanity check not catching missing /boot/efi on UEFI
Product: [Fedora] Fedora Reporter: A.J. Werkman <aj.werkman>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: anaconda-maint-list, bcl, dlehman, dshea, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4e1b694046950b00fa383f5208eb851c0ef3c606b84cb520875c2e61ccc44968
Fixed In Version: python-blivet-0.17-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-28 07:17:51 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:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: backtrace
none
File: environ
none
File: ifcfg.log
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: packaging.log
none
File: program.log
none
File: storage.log
none
File: syslog none

Description A.J. Werkman 2013-06-11 18:47:14 UTC
Description of problem:
The following was filed automatically by anaconda:
anaconda 19.30.3-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 320, in doIt
    if boot.type == "mdarray":
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 169, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 138, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  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)
AttributeError: 'NoneType' object has no attribute 'type'

Version-Release number of selected component:
anaconda-19.30.3-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.sshd nomodeset inst.ks=cdrom:/dev/cdrom:/ks.cfg ip=172.18.92.70::172.18.92.65:255.255.255.192:cfl.lc.digifarma.nl::none nameserver=172.18.92.65 inst.stage2=hd:CDLABEL=CFL_080T
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.4-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-TC2

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
  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/install.py", line 138, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 169, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 320, in doIt
    if boot.type == "mdarray":
AttributeError: 'NoneType' object has no attribute 'type'

Comment 1 A.J. Werkman 2013-06-11 18:47:20 UTC
Created attachment 759760 [details]
File: anaconda-tb

Comment 2 A.J. Werkman 2013-06-11 18:47:24 UTC
Created attachment 759761 [details]
File: anaconda.log

Comment 3 A.J. Werkman 2013-06-11 18:47:27 UTC
Created attachment 759762 [details]
File: backtrace

Comment 4 A.J. Werkman 2013-06-11 18:47:31 UTC
Created attachment 759763 [details]
File: environ

Comment 5 A.J. Werkman 2013-06-11 18:47:34 UTC
Created attachment 759764 [details]
File: ifcfg.log

Comment 6 A.J. Werkman 2013-06-11 18:47:40 UTC
Created attachment 759765 [details]
File: lsblk_output

Comment 7 A.J. Werkman 2013-06-11 18:47:43 UTC
Created attachment 759766 [details]
File: nmcli_dev_list

Comment 8 A.J. Werkman 2013-06-11 18:47:48 UTC
Created attachment 759767 [details]
File: packaging.log

Comment 9 A.J. Werkman 2013-06-11 18:47:53 UTC
Created attachment 759768 [details]
File: program.log

Comment 10 A.J. Werkman 2013-06-11 18:47:57 UTC
Created attachment 759769 [details]
File: storage.log

Comment 11 A.J. Werkman 2013-06-11 18:48:02 UTC
Created attachment 759771 [details]
File: syslog

Comment 12 David Lehman 2013-06-11 19:02:42 UTC
Looks like the user is trying to install on UEFI without creating a /boot/efi filesystem and for some reason we are not catching this error and instead allow the (doomed) install to proceed.

Comment 13 Brian Lane 2013-06-18 16:55:50 UTC
Patches from http://dlehman.fedorapeople.org/patches/20130430-efi.0/ fixes this in my testing.

Comment 14 Fedora Update System 2013-06-24 21:59:51 UTC
anaconda-19.30.10-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/anaconda-19.30.10-1.fc19

Comment 15 Fedora Update System 2013-06-25 21:17:45 UTC
Package python-blivet-0.17-1.fc19, anaconda-19.30.11-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-blivet-0.17-1.fc19 anaconda-19.30.11-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-11679/python-blivet-0.17-1.fc19,anaconda-19.30.11-1.fc19
then log in and leave karma (feedback).

Comment 16 Fedora Update System 2013-06-26 17:10:43 UTC
Package python-blivet-0.17-1.fc19, anaconda-19.30.12-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-blivet-0.17-1.fc19 anaconda-19.30.12-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-11679/python-blivet-0.17-1.fc19,anaconda-19.30.12-1.fc19
then log in and leave karma (feedback).

Comment 17 Fedora Update System 2013-06-28 07:17:51 UTC
python-blivet-0.17-1.fc19, anaconda-19.30.13-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.