Bug 1011633

Summary: AttributeError: 'NoneType' object has no attribute 'type'
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: amulhern, 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: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-05 00:11:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: ks.cfg
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Orion Poplawski 2013-09-24 16:35:31 UTC
Description of problem:
EFI boot of netinst.iso dd'ed to USB using cobbler kickstart config.

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

The following was filed automatically by anaconda:
anaconda 19.30.13-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 140, 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'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora\x2019\x20x86_64 ks=http://ks.cora.nwra.com/system/pacas
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.5-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19

Comment 1 Orion Poplawski 2013-09-24 16:35:36 UTC
Created attachment 802343 [details]
File: anaconda-tb

Comment 2 Orion Poplawski 2013-09-24 16:35:42 UTC
Created attachment 802344 [details]
File: anaconda.log

Comment 3 Orion Poplawski 2013-09-24 16:35:46 UTC
Created attachment 802345 [details]
File: environ

Comment 4 Orion Poplawski 2013-09-24 16:35:50 UTC
Created attachment 802346 [details]
File: ks.cfg

Comment 5 Orion Poplawski 2013-09-24 16:35:58 UTC
Created attachment 802347 [details]
File: lsblk_output

Comment 6 Orion Poplawski 2013-09-24 16:36:08 UTC
Created attachment 802348 [details]
File: nmcli_dev_list

Comment 7 Orion Poplawski 2013-09-24 16:36:12 UTC
Created attachment 802349 [details]
File: os_info

Comment 8 Orion Poplawski 2013-09-24 16:36:17 UTC
Created attachment 802351 [details]
File: program.log

Comment 9 Orion Poplawski 2013-09-24 16:36:25 UTC
Created attachment 802352 [details]
File: storage.log

Comment 10 Orion Poplawski 2013-09-24 16:36:29 UTC
Created attachment 802353 [details]
File: syslog

Comment 11 Orion Poplawski 2013-09-24 16:36:33 UTC
Created attachment 802354 [details]
File: ifcfg.log

Comment 12 Orion Poplawski 2013-09-24 16:36:38 UTC
Created attachment 802355 [details]
File: packaging.log

Comment 13 Orion Poplawski 2013-09-24 16:45:15 UTC
Two for two now - tried deleting the Linux partitions first but no help.

Comment 14 Orion Poplawski 2013-09-24 17:04:14 UTC
I seem to be getting the same error with Fedora 20 Alpha as well.

Comment 15 Orion Poplawski 2013-09-24 17:13:35 UTC
Looks like self.bootloader.stage2_bootable is false but self.bootDevice is None.  self.bootLoaderDevice is "existing 16000MB partition sda6 (19) with existing ext4 filesystem mounted at /"

I suppose this should be assigned to python-blivet?

Comment 16 Orion Poplawski 2013-09-24 17:18:40 UTC
FWIW - I can install in BIOS mode (but then I can't boot Windows)

Comment 17 Orion Poplawski 2014-11-05 00:11:38 UTC
I suspect this was fixed earlier, but I'm also not able to reproduce with F21_TC1.