Bug 1368941

Summary: AttributeError: 'DeviceTree' object has no attribute 'resolveDevice'
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: anaconda-maint-list, g.kaviyarasu, jkonecny, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:90f950554c659764e39e22adfd58f2befeb29572ede9b8f28cf09a21c1d5ef13;
Fixed In Version: anaconda-25.21-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-10 06:21:31 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.librepo.log
none
File: environ
none
File: hawkey.log
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log
none
screenshot none

Description lnie 2016-08-22 08:05:35 UTC
Description of problem:
just add an inst.repo=hd:<device>:<path> and you will see the crash immediately after you click the Installation Source 

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

The following was filed automatically by anaconda:
anaconda 25.20-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/source.py", line 785, in refresh
    methodDev = self.storage.devicetree.resolveDevice(self.data.method.partition)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 387, in _on_spoke_clicked
    spoke.refresh()
AttributeError: 'DeviceTree' object has no attribute 'resolveDevice'

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-25 rd.live.check quiet inst.repo=hd:sdb:/Fedora-Server-dvd-x86_64-25-20160819.n.1.iso
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.0-0.rc1.git0.1.fc25.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        25

Comment 1 lnie 2016-08-22 08:06:21 UTC
Created attachment 1192799 [details]
File: anaconda-tb

Comment 2 lnie 2016-08-22 08:06:24 UTC
Created attachment 1192800 [details]
File: anaconda.log

Comment 3 lnie 2016-08-22 08:06:26 UTC
Created attachment 1192801 [details]
File: dnf.librepo.log

Comment 4 lnie 2016-08-22 08:06:28 UTC
Created attachment 1192802 [details]
File: environ

Comment 5 lnie 2016-08-22 08:06:30 UTC
Created attachment 1192803 [details]
File: hawkey.log

Comment 6 lnie 2016-08-22 08:06:32 UTC
Created attachment 1192804 [details]
File: lsblk_output

Comment 7 lnie 2016-08-22 08:06:33 UTC
Created attachment 1192805 [details]
File: nmcli_dev_list

Comment 8 lnie 2016-08-22 08:06:37 UTC
Created attachment 1192806 [details]
File: os_info

Comment 9 lnie 2016-08-22 08:06:42 UTC
Created attachment 1192807 [details]
File: storage.log

Comment 10 lnie 2016-08-22 08:06:51 UTC
Created attachment 1192808 [details]
File: syslog

Comment 11 lnie 2016-08-22 08:06:52 UTC
Created attachment 1192809 [details]
File: ifcfg.log

Comment 12 lnie 2016-08-22 08:06:54 UTC
Created attachment 1192810 [details]
File: packaging.log

Comment 13 lnie 2016-08-22 08:06:58 UTC
Created attachment 1192811 [details]
File: program.log

Comment 14 lnie 2016-08-22 08:37:58 UTC
Created attachment 1192819 [details]
screenshot

Comment 15 Jiri Konecny 2016-08-22 08:57:45 UTC
Already modified by commit:  https://github.com/rhinstaller/anaconda/commit/ffc31f75c04883b95f5b38cab366c28339004aef