Bug 1325518

Summary: TypeError: 'DiskDevice' object is not iterable
Product: [Fedora] Fedora Reporter: mk
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: anaconda-maint-list, blivet-maint-list, g.kaviyarasu, iliketurtlesbro, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4b84179f5251448134ebe873706f6f138081473dcccdc8a8fd98a6c154c5281a;
Fixed In Version: python-blivet-2.1.2-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-17 14:47:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

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'.