Bug 1155288

Summary: AttributeError: 'NoneType' object has no attribute 'startswith'
Product: [Fedora] Fedora Reporter: info
Component: anacondaAssignee: mulhern <amulhern>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:772906dd7568eb88321b00538be0e8432624c2427d6672984082497ed917f6cb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-27 13:03:49 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 info 2014-10-21 20:01:03 UTC
Description of problem:
Booted into the liveusb, launched the installer and it simply crashed.

Version-Release number of selected component:
anaconda-core-21.48.6-1.fc21.x86_64

The following was filed automatically by anaconda:
anaconda 21.48.6-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 1148, in isNameValid
    if name.startswith("cciss/"):
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 244, in __init__
    if not self.isNameValid(name):
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 555, in __init__
    Device.__init__(self, name, parents=parents)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 2270, in __init__
    super(ContainerDevice, self).__init__(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 3593, in __init__
    sysfsPath=sysfsPath)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1642, in handleUdevMDMemberFormat
    exists=True)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1889, in handleUdevDeviceFormat
    self.handleUdevMDMemberFormat(info, device)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1244, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2170, in _populate
    self.addUdevDevice(dev)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2105, in populate
    self._populate()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 469, in reset
    self.devicetree.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 188, in storageInitialize
    storage.reset()
  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 'startswith'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-Workstation-x86_64-2 ro rd.live.image quiet rhgb rd.live.check
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.16.1-301.fc21.x86_64
other involved packages: python-blivet-0.62-1.fc21.noarch, python-libs-2.7.8-4.1.fc21.x86_64
product:        Fedora
release:        Fedora release 21 (Twenty One)
type:           anaconda
version:        21

Comment 1 info 2014-10-21 20:01:08 UTC
Created attachment 949099 [details]
File: anaconda-tb

Comment 2 info 2014-10-21 20:01:09 UTC
Created attachment 949100 [details]
File: anaconda.log

Comment 3 info 2014-10-21 20:01:11 UTC
Created attachment 949101 [details]
File: environ

Comment 4 info 2014-10-21 20:01:14 UTC
Created attachment 949102 [details]
File: journalctl

Comment 5 info 2014-10-21 20:01:15 UTC
Created attachment 949103 [details]
File: lsblk_output

Comment 6 info 2014-10-21 20:01:16 UTC
Created attachment 949104 [details]
File: nmcli_dev_list

Comment 7 info 2014-10-21 20:01:18 UTC
Created attachment 949105 [details]
File: os_info

Comment 8 info 2014-10-21 20:01:20 UTC
Created attachment 949106 [details]
File: program.log

Comment 9 info 2014-10-21 20:01:22 UTC
Created attachment 949107 [details]
File: storage.log

Comment 10 info 2014-10-21 20:01:24 UTC
Created attachment 949108 [details]
File: ifcfg.log

Comment 11 info 2014-10-27 11:49:50 UTC
This happens every time I try to launch anaconda btw,
if any additional info is needed I'd be happy to provide whatever I can.

Comment 12 mulhern 2014-10-27 13:03:49 UTC
You should find that this problem is gone in anaconda-21.48.9.

If it is not, please re-open bug.

Thanks,

- mulhern

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

Comment 13 mulhern 2014-10-27 13:11:49 UTC
Reminder: This is really a blivet bug, so reassign to blivet when that becomes possible again.