Bug 1129595 - AttributeError: 'NoneType' object has no attribute 'path'
Summary: AttributeError: 'NoneType' object has no attribute 'path'
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: David Lehman
QA Contact: Release Test Team
Depends On:
Blocks: 1112660
TreeView+ depends on / blocked
Reported: 2014-08-13 10:08 UTC by Jan Stodola
Modified: 2015-03-05 14:02 UTC (History)
0 users

Fixed In Version: python-blivet-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-03-05 14:02:33 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0312 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2015-03-05 17:35:22 UTC

Description Jan Stodola 2014-08-13 10:08:42 UTC
Description of problem:
anaconda 19.31.79-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 453, in unusedDevices
    extended = device.disk.format.extendedPartition.path
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 779, in unusedDevices
    unused_devices = [d for d in self.__storage.unusedDevices
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 946, in _do_refresh
    log.debug("ui: unused=%s" % [d.name for d in self.unusedDevices])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 872, in refresh
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 110, in _runSpoke
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 420, in _on_spoke_clicked
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 436, in _on_spoke_clicked
    self._on_spoke_clicked(self._spokes[dest].selector, None, self._spokes[dest])
AttributeError: 'NoneType' object has no attribute 'path'

Version-Release number of selected component (if applicable):
anaconda 19.31.79-1

How reproducible:

Steps to Reproduce:
1. start virtual machine with two disks, partitioning of the first disk is:

Number  Start   End     Size    Type      File system  Flags
 1      1049kB  211MB   210MB   primary
 2      211MB   420MB   210MB   primary
 3      420MB   630MB   210MB   primary
 4      630MB   8590MB  7960MB  extended
 5      631MB   841MB   210MB   logical

The second disk don't have a disk label.

2. go to disk selection screen and select both disks
3. go to custom partitioning ("I will configure partitioning" option)
4. remove all existing partitions and let anaconda to create LVM partitioning automatically
5. accept changes and go back to disk selection screen
6. unselect the second disk and go to custom partitioning again

Actual results:
anaconda traceback

Expected results:
user can use custom partitioning

Comment 3 Jan Stodola 2014-12-15 08:51:05 UTC
No longer able to reproduce with python-blivet- and anaconda-19.31.111-1.el7, compose RHEL-7.1-20141204.2.

Moving to VERIFIED.

Comment 5 errata-xmlrpc 2015-03-05 14:02:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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