Bug 1100928

Summary: AttributeError: 'NoneType' object has no attribute 'type'
Product: [Fedora] Fedora Reporter: Jared Smith <jsmith.fedora>
Component: anacondaAssignee: David Shea <dshea>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: agk, aj.werkman, caf, codestorm, g.kaviyarasu, jonathan, katzj, mk, vanmeeuwen+fedora, volovics
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:17d4a35ce17f55972d865791a7e31858b812b885a2cf94c79f2e84536c771e27
Fixed In Version: anaconda-21.38-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-16 13:42:07 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: environ
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 Jared Smith 2014-05-24 00:12:00 UTC
Description of problem:
Installing rawhide from boot.iso (burned to a USB key directly with 'dd'), and anaconda crashes upon display of the "WELCOME TO FEDORA rawide." screen.

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

The following was filed automatically by anaconda:
anaconda 21.37-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1356, in is_valid_stage2_device
    if self.stage2_device.type == "mdarray" and \
  File "/usr/lib64/python2.7/site-packages/pyanaconda/bootloader.py", line 1344, in has_windows
    ret = [d for d in devices if self.is_valid_stage2_device(d, linux=False, non_linux=True)]
  File "/usr/lib64/python2.7/site-packages/pyanaconda/timezone.py", line 79, in time_initialize
    timezone.isUtc = not bootloader.has_windows(ntfs_devs)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, 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\x20rawhide\x20x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.15.0-0.rc6.git0.1.fc21.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 Jared Smith 2014-05-24 00:12:03 UTC
Created attachment 898814 [details]
File: anaconda-tb

Comment 2 Jared Smith 2014-05-24 00:12:05 UTC
Created attachment 898815 [details]
File: anaconda.log

Comment 3 Jared Smith 2014-05-24 00:12:07 UTC
Created attachment 898816 [details]
File: environ

Comment 4 Jared Smith 2014-05-24 00:12:08 UTC
Created attachment 898817 [details]
File: lsblk_output

Comment 5 Jared Smith 2014-05-24 00:12:10 UTC
Created attachment 898818 [details]
File: nmcli_dev_list

Comment 6 Jared Smith 2014-05-24 00:12:12 UTC
Created attachment 898819 [details]
File: os_info

Comment 7 Jared Smith 2014-05-24 00:12:14 UTC
Created attachment 898820 [details]
File: program.log

Comment 8 Jared Smith 2014-05-24 00:12:16 UTC
Created attachment 898821 [details]
File: storage.log

Comment 9 Jared Smith 2014-05-24 00:12:18 UTC
Created attachment 898822 [details]
File: syslog

Comment 10 Jared Smith 2014-05-24 00:12:20 UTC
Created attachment 898823 [details]
File: ifcfg.log

Comment 11 Jared Smith 2014-05-24 00:12:21 UTC
Created attachment 898824 [details]
File: packaging.log

Comment 12 Jared Smith 2014-05-24 00:22:32 UTC
This crash seems to be related to the disk layout.  Once I blew away the partition table and tried again, anaconda stopped crashing.

Comment 13 Chuck Forsberg 2014-05-27 13:23:25 UTC
Another user experienced a similar problem:

pxeboot into 32gb 3770k  gtx 780ti

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img ramdisk_size=9216 root=live:http://192.168.1.13/squashfs.img repo=http://192.168.1.13/rawhide/os BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.15.0-0.rc7.git0.1.fc21.x86_64
package:        anaconda-21.37-1
product:        Fedora
reason:         AttributeError: 'NoneType' object has no attribute 'type'
release:        Cannot get release name.
version:        rawhide

Comment 14 David Shea 2014-05-28 17:43:33 UTC
*** Bug 1102295 has been marked as a duplicate of this bug. ***

Comment 15 David Shea 2014-05-31 03:12:29 UTC
*** Bug 1103377 has been marked as a duplicate of this bug. ***

Comment 16 David Shea 2014-06-02 19:44:55 UTC
*** Bug 1103473 has been marked as a duplicate of this bug. ***