The abrt error "anaconda-19.31.79-1: AttributeError: 'NoneType' object has no attribute 'type'" appears during installation of Red Hat Enterprise Linux 6 or 7
Issue
- While installing Red Hat Enterprise Linux 6/7 using kickstart, installation fails with the following
abrt
error.
cmdline: /usr/bin/python /sbin/anaconda
cmdline_file: ksdevice=link ks=http://192.168.0.254/ks.cfg
comment:
executable: /sbin/anaconda
hashmarkername: anaconda
kernel: 3.10.0-123.el7.x86_64
last_occurrence: 1403648075
pkg_arch: x86_64
pkg_epoch: 0
pkg_name: anaconda
pkg_release: 1
pkg_version: 19.31.79
product: Red Hat Enterprise Linux
release: Red Hat Enterprise Linux ComputeNode release 7.0 (Maipo)
time: Tue 24 Jun 2014 10:14:35 PM UTC
version: 7.0
anaconda-tb: Text file, 812940 bytes
anaconda.log: Text file, 20999 bytes
ifcfg.log: Text file, 4414 bytes
program.log: Text file, 85390 bytes
storage.log: Text file, 460130 bytes
syslog: Text file, 142342 bytes
backtrace:
:Traceback (most recent call last):
: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2315, in on_remove_clicked
: self._destroy_device(device)
: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2185, in _destroy_device
: self.__storage.initializeDisk(device)
: File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 835, in initializeDisk
: labelType = _platform.bestDiskLabelType(disk)
: File "/usr/lib/python2.7/site-packages/blivet/platform.py", line 107, in bestDiskLabelType
: labelType = self.requiredDiskLabelType(device.partedDevice.type)
:AttributeError: 'NoneType' object has no attribute 'type'
description:
:The following was filed automatically by anaconda:
:anaconda 19.31.79-1 exception report
:Traceback (most recent call first):
: File "/usr/lib/python2.7/site-packages/blivet/platform.py", line 107, in bestDiskLabelType
: labelType = self.requiredDiskLabelType(device.partedDevice.type)
: File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 835, in initializeDisk
: labelType = _platform.bestDiskLabelType(disk)
: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2185, in _destroy_device
: self.__storage.initializeDisk(device)
: File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2315, in on_remove_clicked
: self._destroy_device(device)
:AttributeError: 'NoneType' object has no attribute 'type'
- A 0 byte paritition was listed on the arrays. When clicked on remove partition and system crashed.
Environment
- Red Hat Enterprise Linux 7.0
- Red Hat Enterprise Linux 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.