Bug 1155288 - AttributeError: 'NoneType' object has no attribute 'startswith'
Summary: AttributeError: 'NoneType' object has no attribute 'startswith'
Keywords:
Status: CLOSED DUPLICATE of bug 1147087
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: mulhern
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:772906dd7568eb88321b00538be...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-21 20:01 UTC by info
Modified: 2014-10-27 13:11 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-27 13:03:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (566.76 KB, text/plain)
2014-10-21 20:01 UTC, info
no flags Details
File: anaconda.log (14.83 KB, text/plain)
2014-10-21 20:01 UTC, info
no flags Details
File: environ (615 bytes, text/plain)
2014-10-21 20:01 UTC, info
no flags Details
File: journalctl (329.51 KB, text/plain)
2014-10-21 20:01 UTC, info
no flags Details
File: lsblk_output (4.64 KB, text/plain)
2014-10-21 20:01 UTC, info
no flags Details
File: nmcli_dev_list (1.50 KB, text/plain)
2014-10-21 20:01 UTC, info
no flags Details
File: os_info (377 bytes, text/plain)
2014-10-21 20:01 UTC, info
no flags Details
File: program.log (28.77 KB, text/plain)
2014-10-21 20:01 UTC, info
no flags Details
File: storage.log (183.14 KB, text/plain)
2014-10-21 20:01 UTC, info
no flags Details
File: ifcfg.log (4.52 KB, text/plain)
2014-10-21 20:01 UTC, info
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1145783 0 unspecified CLOSED F21 install crashes on Intel firmware RAID with "AttributeError: 'NoneType' object has no attribute 'startswith'" 2021-02-22 00:41:40 UTC

Internal Links: 1145783

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.


Note You need to log in before you can comment on or make changes to this bug.