Bug 1809950

Summary: pyanaconda.modules.common.errors.storage.UnknownDeviceError
Product: [Fedora] Fedora Reporter: Luca Berton <lberton>
Component: anacondaAssignee: Vendula Poncova <vponcova>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: anaconda-maint-list, falling_snowdin, jkonecny, jonathan, kellin, tosak, vanmeeuwen+fedora, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c76b3a3bc6a6825c0f73f0a89d8ed9036af842711a8bbb2cd5c140165977d452;
Fixed In Version: anaconda-32.24.3-1 anaconda-32.24.3-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-22 03:09:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dbus.log
none
File: environ
none
File: lorax-packages.log
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

Description Luca Berton 2020-03-04 09:45:09 UTC
Description of problem:
I selected "Reclaim disk space" and than clicked on "Free space 2MiB" on partition list

Version-Release number of selected component:
anaconda-32.24.2

The following was filed automatically by anaconda:
anaconda 32.24.2 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.8/site-packages/dasbus/client/handler.py", line 496, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.8/site-packages/dasbus/client/handler.py", line 474, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.8/site-packages/dasbus/client/handler.py", line 442, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.8/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 373, in _update_action_buttons
    self._device_tree.GetDeviceData(device_name)
  File "/usr/lib64/python3.8/site-packages/pyanaconda/ui/gui/spokes/lib/resize.py", line 583, in on_selection_changed
    self._update_action_buttons(self._disk_store[itr])
pyanaconda.modules.common.errors.storage.UnknownDeviceError

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-iot-iot-ostree-x86_64-32 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         5.6.0-0.rc3.git0.1.fc32.x86_64
product:        Fedora
release:        Fedora release 32 (Thirty Two)
type:           anaconda
version:        32

Comment 1 Luca Berton 2020-03-04 09:45:14 UTC
Created attachment 1667428 [details]
File: anaconda-tb

Comment 2 Luca Berton 2020-03-04 09:45:16 UTC
Created attachment 1667429 [details]
File: anaconda.log

Comment 3 Luca Berton 2020-03-04 09:45:18 UTC
Created attachment 1667430 [details]
File: dbus.log

Comment 4 Luca Berton 2020-03-04 09:45:20 UTC
Created attachment 1667431 [details]
File: environ

Comment 5 Luca Berton 2020-03-04 09:45:22 UTC
Created attachment 1667432 [details]
File: lorax-packages.log

Comment 6 Luca Berton 2020-03-04 09:45:24 UTC
Created attachment 1667433 [details]
File: lsblk_output

Comment 7 Luca Berton 2020-03-04 09:45:26 UTC
Created attachment 1667434 [details]
File: nmcli_dev_list

Comment 8 Luca Berton 2020-03-04 09:45:28 UTC
Created attachment 1667435 [details]
File: os_info

Comment 9 Luca Berton 2020-03-04 09:45:30 UTC
Created attachment 1667436 [details]
File: program.log

Comment 10 Luca Berton 2020-03-04 09:45:31 UTC
Created attachment 1667437 [details]
File: storage.log

Comment 11 Luca Berton 2020-03-04 09:45:35 UTC
Created attachment 1667438 [details]
File: syslog

Comment 12 Vendula Poncova 2020-03-04 13:49:29 UTC
Fixed in a pull request: https://github.com/rhinstaller/anaconda/pull/2355

Comment 13 Fedora Update System 2020-03-17 13:47:15 UTC
FEDORA-2020-84ddf3ee4d has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-84ddf3ee4d

Comment 14 Fedora Update System 2020-03-18 02:38:29 UTC
anaconda-32.24.3-1.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-84ddf3ee4d

Comment 15 Fedora Update System 2020-03-22 03:09:01 UTC
anaconda-32.24.3-1.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Tomasz Osak 2020-03-29 14:36:30 UTC
*** Bug 1818591 has been marked as a duplicate of this bug. ***

Comment 17 falling_snowdin 2020-04-11 10:52:02 UTC
Similar problem has been detected:

I chose the 'I want to claim more space' option for Storage, and the 'Encrypt my data' option. I clicked on the 'Done' button and it prompted me for the disk encryption passphrase which I entered in normally, then it showed the /dev/sda disks. When I tried to click on a free space partition, the crash happened.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:/dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-KDE-Live-32_B-1-2 rd.live.image quiet
hashmarkername: anaconda
kernel:         5.6.0-0.rc5.git0.2.fc32.x86_64
other involved packages: python3-dasbus-0.2-2.fc32.noarch, anaconda-gui-32.24.2-3.fc32.x86_64
package:        anaconda-core-32.24.2-3.fc32.x86_64
packaging.log:  
product:        Fedora
reason:         pyanaconda.modules.common.errors.storage.UnknownDeviceError
release:        Fedora release 32 (Thirty Two)
release_type:   pre-release
version:        32