Bug 2102960 - dasbus.error.DBusError: 'NoneType' object has no attribute 'getPartitionByPath'
Summary: dasbus.error.DBusError: 'NoneType' object has no attribute 'getPartitionByPath'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 36
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7029a0401310f4786b41d4feb71...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-01 06:49 UTC by vlad.sheremetiev
Modified: 2023-03-23 00:16 UTC (History)
12 users (show)

Fixed In Version: python-blivet-3.7.1-1.fc38
Clone Of:
Environment:
Last Closed: 2023-03-23 00:16:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.47 MB, text/plain)
2022-07-01 06:49 UTC, vlad.sheremetiev
no flags Details
File: anaconda.log (16.83 KB, text/plain)
2022-07-01 06:49 UTC, vlad.sheremetiev
no flags Details
File: dbus.log (3.60 KB, text/plain)
2022-07-01 06:49 UTC, vlad.sheremetiev
no flags Details
File: environ (562 bytes, text/plain)
2022-07-01 06:49 UTC, vlad.sheremetiev
no flags Details
File: journalctl (1.07 MB, text/plain)
2022-07-01 06:49 UTC, vlad.sheremetiev
no flags Details
File: lsblk_output (5.47 KB, text/plain)
2022-07-01 06:49 UTC, vlad.sheremetiev
no flags Details
File: nmcli_dev_list (1.53 KB, text/plain)
2022-07-01 06:49 UTC, vlad.sheremetiev
no flags Details
File: os_info (758 bytes, text/plain)
2022-07-01 06:49 UTC, vlad.sheremetiev
no flags Details
File: program.log (28.26 KB, text/plain)
2022-07-01 06:49 UTC, vlad.sheremetiev
no flags Details
File: storage.log (355.15 KB, text/plain)
2022-07-01 06:49 UTC, vlad.sheremetiev
no flags Details

Description vlad.sheremetiev 2022-07-01 06:49:43 UTC
Description of problem:
While installing 
	- on Samsung SSD 850 120gb
	- via flash drive Kingston DataTraveler 100 G3 64gb
	- with ISO downloaded from official site (Fedora Workstation 36)
	- created with Etcher
	- on system: Ryzen 5 1600, Gigabyte b450M H
Getting this this error. 

How can i handle this? 

Version-Release number of selected component:
anaconda-core-36.16.5-1.fc36.x86_64

The following was filed automatically by anaconda:
anaconda 36.16.5 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.10/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.10/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.10/site-packages/dasbus/client/handler.py", line 444, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.10/site-packages/pyanaconda/modules/common/task/__init__.py", line 44, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation_tasks.py", line 527, in run_task
    sync_run_task(self._task_proxy)
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation_tasks.py", line 496, in start
    self.run_task()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/installation.py", line 400, in run_installation
    queue.start()
  File "/usr/lib64/python3.10/threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.10/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
dasbus.error.DBusError: 'NoneType' object has no attribute 'getPartitionByPath'

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=Fedora-WS-Live-36-1-5  rd.live.image rd.live.check quiet
dnf.librepo.log: 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         5.17.5-300.fc36.x86_64
other involved packages: python3-dasbus-1.6-4.fc36.noarch, python3-libs-3.10.4-1.fc36.x86_64
product:        Fedora
release:        Fedora release 36 (Thirty Six)
type:           anaconda
version:        36

Comment 1 vlad.sheremetiev 2022-07-01 06:49:47 UTC
Created attachment 1893819 [details]
File: anaconda-tb

Comment 2 vlad.sheremetiev 2022-07-01 06:49:48 UTC
Created attachment 1893820 [details]
File: anaconda.log

Comment 3 vlad.sheremetiev 2022-07-01 06:49:49 UTC
Created attachment 1893821 [details]
File: dbus.log

Comment 4 vlad.sheremetiev 2022-07-01 06:49:50 UTC
Created attachment 1893822 [details]
File: environ

Comment 5 vlad.sheremetiev 2022-07-01 06:49:53 UTC
Created attachment 1893823 [details]
File: journalctl

Comment 6 vlad.sheremetiev 2022-07-01 06:49:54 UTC
Created attachment 1893824 [details]
File: lsblk_output

Comment 7 vlad.sheremetiev 2022-07-01 06:49:55 UTC
Created attachment 1893825 [details]
File: nmcli_dev_list

Comment 8 vlad.sheremetiev 2022-07-01 06:49:56 UTC
Created attachment 1893826 [details]
File: os_info

Comment 9 vlad.sheremetiev 2022-07-01 06:49:57 UTC
Created attachment 1893827 [details]
File: program.log

Comment 10 vlad.sheremetiev 2022-07-01 06:49:59 UTC
Created attachment 1893828 [details]
File: storage.log

Comment 11 Vendula Poncova 2022-07-19 13:37:50 UTC
From storage.log:

INFO:anaconda.threading:Thread Failed: AnaTaskThread-CreateStorageLayoutTask-1 (139764946695744)
ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-CreateStorageLayoutTask-1 has failed: Traceback (most recent call last):
  File "/usr/lib64/python3.10/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.10/threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.10/site-packages/pyanaconda/modules/common/task/task.py", line 96, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.10/site-packages/pyanaconda/modules/common/task/task.py", line 109, in _task_run_callback
    self._set_result(self.run())
  File "/usr/lib64/python3.10/site-packages/pyanaconda/modules/storage/installation.py", line 82, in run
    self._turn_on_filesystems(
  File "/usr/lib64/python3.10/site-packages/pyanaconda/modules/storage/installation.py", line 162, in _turn_on_filesystems
    storage.do_it(callbacks)
  File "/usr/lib/python3.10/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/blivet/blivet.py", line 114, in do_it
    self.devicetree.actions.process(callbacks=callbacks, devices=self.devices)
  File "/usr/lib/python3.10/site-packages/blivet/actionlist.py", line 48, in wrapped_func
    return func(obj, *args, **kwargs)
  File "/usr/lib/python3.10/site-packages/blivet/actionlist.py", line 356, in process
    self._post_process(devices=devices)
  File "/usr/lib/python3.10/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/blivet/actionlist.py", line 280, in _post_process
    partition.parted_partition = pdisk.getPartitionByPath(partition.path)
AttributeError: 'NoneType' object has no attribute 'getPartitionByPath'

It seems to be an issue in the storage configuration library. Reassigning to blivet.

Comment 12 Vojtech Trefny 2023-02-07 13:12:01 UTC
upstream PR: https://github.com/storaged-project/blivet/pull/1103

Comment 13 Fedora Update System 2023-03-16 10:21:26 UTC
FEDORA-2023-68dff90c05 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-68dff90c05

Comment 14 Fedora Update System 2023-03-18 05:12:48 UTC
FEDORA-2023-68dff90c05 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-68dff90c05

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2023-03-23 00:16:21 UTC
FEDORA-2023-68dff90c05 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


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