Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1549180

Summary: AttributeError: 'NoneType' object has no attribute 'name'
Product: [Fedora] Fedora Reporter: Clemens Eisserer <linuxhippy>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, jkonecny, jonathan, kellin, korboc, vanmeeuwen+fedora, v.podzimek+fedora, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3d9ef2908c666ec9132fee9d7a8454ae95e1ad729dc8bb3c25d8e5a7737bf5e0;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-16 15:44:57 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: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description Clemens Eisserer 2018-02-26 15:43:44 UTC
Description of problem:
fedorainstaller immediatly crashed

Version-Release number of selected component:
anaconda-core-28.22-1.fc28.x86_64

The following was filed automatically by anaconda:
anaconda 28.22 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1718, in _mark_protected_device
    if device.name in self.protected_dev_names:
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1680, in reset
    self._mark_protected_device(dev)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 2176, in storage_initialize
    storage.reset()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 291, in run
    threading.Thread.run(self)
AttributeError: 'NoneType' object has no attribute 'name'

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=Fedora-WS-Live-Rawhide-20180220- rd.live.image rd.live.check quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.16.0-0.rc2.git0.1.fc28.x86_64
other involved packages: python3-blivet-3.0.0-0.2.b1.fc28.noarch, python3-libs-3.6.4-14.fc28.x86_64
product:        Fedora
release:        Fedora release 28 (Rawhide)
type:           anaconda
version:        rawhide

Comment 1 Clemens Eisserer 2018-02-26 15:43:52 UTC
Created attachment 1400871 [details]
File: anaconda-tb

Comment 2 Clemens Eisserer 2018-02-26 15:43:54 UTC
Created attachment 1400872 [details]
File: anaconda.log

Comment 3 Clemens Eisserer 2018-02-26 15:43:55 UTC
Created attachment 1400873 [details]
File: environ

Comment 4 Clemens Eisserer 2018-02-26 15:43:58 UTC
Created attachment 1400874 [details]
File: journalctl

Comment 5 Clemens Eisserer 2018-02-26 15:44:00 UTC
Created attachment 1400875 [details]
File: lsblk_output

Comment 6 Clemens Eisserer 2018-02-26 15:44:01 UTC
Created attachment 1400876 [details]
File: nmcli_dev_list

Comment 7 Clemens Eisserer 2018-02-26 15:44:03 UTC
Created attachment 1400877 [details]
File: os_info

Comment 8 Clemens Eisserer 2018-02-26 15:44:05 UTC
Created attachment 1400878 [details]
File: program.log

Comment 9 Clemens Eisserer 2018-02-26 15:44:08 UTC
Created attachment 1400879 [details]
File: storage.log

Comment 10 Clemens Eisserer 2018-02-26 15:44:09 UTC
Created attachment 1400880 [details]
File: ifcfg.log

Comment 11 Clemens Eisserer 2018-02-26 15:48:15 UTC
... a consequence of using weakly typed languages ;)

Comment 12 Jiri Konecny 2018-02-27 08:11:11 UTC
This is more problem of returning None/Null/Nil from methods/functions.

Comment 13 core bots 2018-03-21 09:47:42 UTC
*** Bug 1558909 has been marked as a duplicate of this bug. ***

Comment 14 Jiri Konecny 2018-07-16 15:44:57 UTC

*** This bug has been marked as a duplicate of bug 1561766 ***