Bug 1325518 - TypeError: 'DiskDevice' object is not iterable
Summary: TypeError: 'DiskDevice' object is not iterable
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4b84179f5251448134ebe873706...
: 1351845 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-09 14:03 UTC by mk
Modified: 2016-08-17 14:47 UTC (History)
6 users (show)

Fixed In Version: python-blivet-2.1.2-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-17 14:47:19 UTC
Type: ---


Attachments (Terms of Use)
File: anaconda-tb (524.29 KB, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: anaconda.log (49.48 KB, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: dnf.log (19.60 KB, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: environ (459 bytes, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: lsblk_output (1.85 KB, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: nmcli_dev_list (2.39 KB, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: os_info (451 bytes, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: program.log (36.70 KB, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: storage.log (63.25 KB, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: syslog (141.84 KB, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: ifcfg.log (5.07 KB, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details
File: packaging.log (765 bytes, text/plain)
2016-04-09 14:03 UTC, mk
no flags Details

Description mk 2016-04-09 14:03:04 UTC
Description of problem:
1. Selected Installation Destination
2. Selected two of the installed drives (sda and sdb)
3. Selected "I will configure partitioning"
4. Selected "Done"

Version-Release number of selected component:
anaconda-25.6-1

The following was filed automatically by anaconda:
anaconda 25.6-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.5/site-packages/blivet/devicetree.py", line 406, in get_disk_actions
    if any(action.device.depends_on(d) for d in disks):
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devicetree.py", line 425, in cancel_disk_actions
    actions = self.get_disk_actions(disks)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devicetree.py", line 819, in hide
    self.cancel_disk_actions(device)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 397, in _hide_unusable_disks
    self._storage_playground.devicetree.hide(disk)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 138, in decorated
    return func(*args, **kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 405, in _reset_storage
    self._hide_unusable_disks()
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 420, in refresh
    self._reset_storage()
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 378, in _on_spoke_clicked
    spoke.refresh()
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 419, in spoke_done
    self._on_spoke_clicked(self._spokes[dest].selector, None, self._spokes[dest])
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/__init__.py", line 76, in on_back_clicked
    self.main_window.current_action.spoke_done(self)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 999, in on_back_clicked
    NormalSpoke.on_back_clicked(self, button)
TypeError: 'DiskDevice' object is not iterable

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-WS-dvd-x86_64-rawh quiet
dnf.rpm.log:    Apr 09 14:48:49 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.6.0-0.rc2.git2.1.fc25.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 mk 2016-04-09 14:03:11 UTC
Created attachment 1145404 [details]
File: anaconda-tb

Comment 2 mk 2016-04-09 14:03:13 UTC
Created attachment 1145405 [details]
File: anaconda.log

Comment 3 mk 2016-04-09 14:03:15 UTC
Created attachment 1145406 [details]
File: dnf.log

Comment 4 mk 2016-04-09 14:03:17 UTC
Created attachment 1145407 [details]
File: environ

Comment 5 mk 2016-04-09 14:03:18 UTC
Created attachment 1145408 [details]
File: lsblk_output

Comment 6 mk 2016-04-09 14:03:20 UTC
Created attachment 1145409 [details]
File: nmcli_dev_list

Comment 7 mk 2016-04-09 14:03:21 UTC
Created attachment 1145410 [details]
File: os_info

Comment 8 mk 2016-04-09 14:03:23 UTC
Created attachment 1145411 [details]
File: program.log

Comment 9 mk 2016-04-09 14:03:25 UTC
Created attachment 1145412 [details]
File: storage.log

Comment 10 mk 2016-04-09 14:03:28 UTC
Created attachment 1145413 [details]
File: syslog

Comment 11 mk 2016-04-09 14:03:29 UTC
Created attachment 1145414 [details]
File: ifcfg.log

Comment 12 mk 2016-04-09 14:03:31 UTC
Created attachment 1145415 [details]
File: packaging.log

Comment 13 mk 2016-04-09 14:30:48 UTC
I tested again and was able to reproduce the problem when selecting only one of the two drives.

Comment 14 David Shea 2016-07-01 13:17:44 UTC
*** Bug 1351845 has been marked as a duplicate of this bug. ***

Comment 15 Jan Kurik 2016-07-26 04:13:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.


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