Bug 2232328

Summary: pyanaconda.modules.common.errors.general.AnacondaError: 'DeviceFormat' object has no attribute 'free'
Product: [Fedora] Fedora Reporter: Erwan Legrand <redhat>
Component: python-blivetAssignee: Vojtech Trefny <vtrefny>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: anaconda-maint, blivet-maint-list, dlehman, japokorn, mkolman, redhat, rvykydal, vponcova, vslavik, vtrefny, w
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:abbe78b99afb5d4d6626d80797d2da4787aecb243a4519496eec0407a4a80f46;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: backtrace
none
File: os_info
none
File: environ
none
File: journalctl
none
File: description
none
File: storage.log
none
File: program.log
none
File: nmcli_dev_list
none
File: lvm.log
none
File: anaconda.log
none
File: lsblk_output
none
File: dbus.log none

Description Erwan Legrand 2023-08-16 10:24:24 UTC
Version-Release number of selected component:
anaconda-core-38.23.4-2.fc38.x86_64


The following was filed automatically by anaconda:
anaconda 38.23.4 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.11/site-packages/dasbus/client/handler.py", line 450, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 280, in _run
    sync_run_task(self._task_proxy)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 188, in _run
    item.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation_tasks.py", line 75, in start
    self._run()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 515, in _run_installation
    queue.start()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/installation.py", line 80, in run
    self._run_installation(
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 109, in _task_run_callback
    self._set_result(self.run())
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 96, in _thread_run_callback
    self._task_run_callback()
  File "/usr/lib64/python3.11/threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 275, in run
    threading.Thread.run(self)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 166, in raise_if_error
    raise exc_info[1]
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 175, in finish
    threadMgr.raise_if_error(self._thread_name)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/ui/gui/spokes/installation_progress.py", line 75, in _on_installation_done
    self._task.finish()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/core/signal.py", line 41, in emit
    func(obj, *args, **kargs)
  File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/runnable.py", line 115, in _task_stopped_callback
    self._stopped_signal.emit()
  File "/usr/lib64/python3.11/site-packages/pyanaconda/core/async_utils.py", line 68, in _idle_method
    func(*args, **kwargs)
pyanaconda.modules.common.errors.general.AnacondaError: 'DeviceFormat' object has no attribute 'free'

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
executable:     /sbin/anaconda
hashmarkername: anaconda
product:        Fedora
package:        anaconda-core-38.23.4-2.fc38.x86_64
reason:         pyanaconda.modules.common.errors.general.AnacondaError: 'DeviceFormat' object has no attribute 'free'
type:           anaconda
release:        Fedora release 38 (Thirty Eight)
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-38-1-6 rd.live.image quiet rhgb
addons:         com_redhat_kdump
kernel:         6.2.9-300.fc38.x86_64
version:        38
other involved packages: python3-libs-3.11.2-1.fc38.x86_64, anaconda-gui-38.23.4-2.fc38.x86_64, python3-dasbus-1.7-2.fc38.noarch

Comment 1 Erwan Legrand 2023-08-16 10:24:27 UTC
Created attachment 1983559 [details]
File: anaconda-tb

Comment 2 Erwan Legrand 2023-08-16 10:24:29 UTC
Created attachment 1983560 [details]
File: backtrace

Comment 3 Erwan Legrand 2023-08-16 10:24:31 UTC
Created attachment 1983561 [details]
File: os_info

Comment 4 Erwan Legrand 2023-08-16 10:24:33 UTC
Created attachment 1983562 [details]
File: environ

Comment 5 Erwan Legrand 2023-08-16 10:24:39 UTC
Created attachment 1983563 [details]
File: journalctl

Comment 6 Erwan Legrand 2023-08-16 10:24:41 UTC
Created attachment 1983564 [details]
File: description

Comment 7 Erwan Legrand 2023-08-16 10:24:43 UTC
Created attachment 1983565 [details]
File: storage.log

Comment 8 Erwan Legrand 2023-08-16 10:24:45 UTC
Created attachment 1983566 [details]
File: program.log

Comment 9 Erwan Legrand 2023-08-16 10:24:47 UTC
Created attachment 1983567 [details]
File: nmcli_dev_list

Comment 10 Erwan Legrand 2023-08-16 10:24:50 UTC
Created attachment 1983568 [details]
File: lvm.log

Comment 11 Erwan Legrand 2023-08-16 10:24:52 UTC
Created attachment 1983569 [details]
File: anaconda.log

Comment 12 Erwan Legrand 2023-08-16 10:24:54 UTC
Created attachment 1983570 [details]
File: lsblk_output

Comment 13 Erwan Legrand 2023-08-16 10:24:56 UTC
Created attachment 1983571 [details]
File: dbus.log

Comment 14 Vojtech Trefny 2023-08-16 11:39:07 UTC
Moving to blivet, our storage library for further investigation. The error happens when removing a PV from the VG when checking whether a pvmove call is required or not.