Bug 2209066

Summary: pyanaconda.modules.common.errors.general.AnacondaError: Process reported exit code 1: ERROR: cannot access '/tmp/btrfs-tmp.1831vnycaq8/fedora': No such file or directory
Product: [Fedora] Fedora Reporter: Alexandru-Sever Horin <alex.sever.h>
Component: libblockdevAssignee: Vojtech Trefny <vtrefny>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: alex.sever.h, anaconda-maint-list, jkonecny, tbzatek, v.podzimek+fedora, vponcova, vslavik, vtrefny, w
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ed76a48e0e59520f4870307033d2039901601e4a989fdd478a6a527f28a6ac7f;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: anaconda.log
none
File: lsblk_output
none
File: dbus.log none

Description Alexandru-Sever Horin 2023-05-22 13:22:53 UTC
Description of problem:
I tried to install fedora in a vm with the following disk layout:
1GB FAT mounted at /boot/efi
18GB LUKS BTRFS with subvolumes:
   fedora
   fedora/root  mounted at /
 1 GB BTRFS partition mounted at /boot

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: Process reported exit code 1: ERROR: cannot access '/tmp/btrfs-tmp.1831vnycaq8/fedora': No such file or directory

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: Process reported exit code 1: ERROR: cannot access '/tmp/btrfs-tmp.1831vnycaq8/fedora': No such file or directory
kernel:         6.2.9-300.fc38.x86_64
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 rd.live.check quiet
addons:         com_redhat_kdump
version:        38
other involved packages: python3-dasbus-1.7-2.fc38.noarch, anaconda-gui-38.23.4-2.fc38.x86_64, python3-libs-3.11.2-1.fc38.x86_64

Comment 1 Alexandru-Sever Horin 2023-05-22 13:22:55 UTC
Created attachment 1966170 [details]
File: anaconda-tb

Comment 2 Alexandru-Sever Horin 2023-05-22 13:22:56 UTC
Created attachment 1966171 [details]
File: backtrace

Comment 3 Alexandru-Sever Horin 2023-05-22 13:22:58 UTC
Created attachment 1966172 [details]
File: os_info

Comment 4 Alexandru-Sever Horin 2023-05-22 13:22:59 UTC
Created attachment 1966173 [details]
File: environ

Comment 5 Alexandru-Sever Horin 2023-05-22 13:23:01 UTC
Created attachment 1966174 [details]
File: journalctl

Comment 6 Alexandru-Sever Horin 2023-05-22 13:23:03 UTC
Created attachment 1966175 [details]
File: description

Comment 7 Alexandru-Sever Horin 2023-05-22 13:23:05 UTC
Created attachment 1966176 [details]
File: storage.log

Comment 8 Alexandru-Sever Horin 2023-05-22 13:23:06 UTC
Created attachment 1966177 [details]
File: program.log

Comment 9 Alexandru-Sever Horin 2023-05-22 13:23:08 UTC
Created attachment 1966178 [details]
File: nmcli_dev_list

Comment 10 Alexandru-Sever Horin 2023-05-22 13:23:09 UTC
Created attachment 1966179 [details]
File: anaconda.log

Comment 11 Alexandru-Sever Horin 2023-05-22 13:23:11 UTC
Created attachment 1966180 [details]
File: lsblk_output

Comment 12 Alexandru-Sever Horin 2023-05-22 13:23:13 UTC
Created attachment 1966182 [details]
File: dbus.log

Comment 13 Jiri Konecny 2023-07-11 13:50:48 UTC
The original error:

 During handling of the above exception, another exception occurred:
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]: Traceback (most recent call last):
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/dasbus/server/handler.py", line 455, in _method_callback
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     result = self._handle_call(
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:              ^^^^^^^^^^^^^^^^^^
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/dasbus/server/handler.py", line 265, in _handle_call
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     return handler(*parameters, **additional_args)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task_interface.py", line 114, in Finish
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     self.implementation.finish()
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 175, in finish
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     threadMgr.raise_if_error(self._thread_name)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 166, in raise_if_error
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     raise exc_info[1]
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib64/python3.11/site-packages/pyanaconda/threading.py", line 275, in run
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     threading.Thread.run(self)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib64/python3.11/threading.py", line 975, in run
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     self._target(*self._args, **self._kwargs)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 96, in _thread_run_callback
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     self._task_run_callback()
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/common/task/task.py", line 109, in _task_run_callback
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     self._set_result(self.run())
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:                      ^^^^^^^^^^
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/installation.py", line 87, in run
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     self._turn_on_filesystems(
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib64/python3.11/site-packages/pyanaconda/modules/storage/installation.py", line 167, in _turn_on_filesystems
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     storage.do_it(callbacks)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/blivet/threads.py", line 53, in run_with_lock
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     return m(*args, **kwargs)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:            ^^^^^^^^^^^^^^^^^^
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/blivet/blivet.py", line 114, in do_it
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     self.devicetree.actions.process(callbacks=callbacks, devices=self.devices)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/blivet/actionlist.py", line 47, in wrapped_func
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     return func(obj, *args, **kwargs)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/blivet/actionlist.py", line 288, in process
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     action.execute(callbacks)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/blivet/threads.py", line 53, in run_with_lock
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     return m(*args, **kwargs)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:            ^^^^^^^^^^^^^^^^^^
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/blivet/deviceaction.py", line 336, in execute
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     self.device.create()
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/blivet/threads.py", line 53, in run_with_lock
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     return m(*args, **kwargs)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:            ^^^^^^^^^^^^^^^^^^
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/blivet/devices/storage.py", line 524, in create
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     self._create()
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/blivet/threads.py", line 53, in run_with_lock
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     return m(*args, **kwargs)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:            ^^^^^^^^^^^^^^^^^^
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib/python3.11/site-packages/blivet/devices/btrfs.py", line 593, in _create
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     blockdev.btrfs.create_subvolume(mountpoint, self.name)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:   File "/usr/lib64/python3.11/site-packages/gi/overrides/BlockDev.py", line 1060, in wrapped
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]:     raise transform[1](msg)
May 22 11:56:07 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3200]: gi.overrides.BlockDev.BtrfsError: Process reported exit code 1: ERROR: cannot access '/tmp/btrfs-tmp.1831vnycaq8/fedora': No such file or directory


 is coming from libblockdev library. Switching component to libblockdev for further triage.