Bug 2215668 - pyanaconda.modules.common.errors.general.AnacondaError: Process reported exit code 1: ERROR: cannot access '/tmp/btrfs-tmp.26065cq1end9/@var': No such file or directory
Summary: pyanaconda.modules.common.errors.general.AnacondaError: Process reported exit...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:762cd008de33f9b18b36b21b277...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-17 03:48 UTC by Greg Werbin
Modified: 2023-08-01 09:53 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.30 KB, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details
File: os_info (699 bytes, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details
File: environ (568 bytes, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details
File: journalctl (7.76 MB, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details
File: description (3.28 KB, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details
File: storage.log (3.61 MB, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details
File: program.log (32.99 KB, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details
File: nmcli_dev_list (2.44 KB, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details
File: anaconda.log (179.35 KB, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details
File: lsblk_output (4.84 KB, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details
File: dbus.log (3.59 KB, text/plain)
2023-06-17 03:48 UTC, Greg Werbin
no flags Details

Description Greg Werbin 2023-06-17 03:48:12 UTC
Description of problem:
Error appeared during installation. It says "creating swap on /dev/sdb3" in the progress display.

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.26065cq1end9/@var': No such file or directory

Additional info:
comment:        Error appeared during installation. It says "creating swap on /dev/sdb3" in the progress display.
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.26065cq1end9/@var': 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-KDE-Live-38-1-6 rd.live.image rd.live.check quiet
addons:         com_redhat_kdump
version:        38
other involved packages: python3-libs-3.11.2-1.fc38.x86_64, python3-dasbus-1.7-2.fc38.noarch, anaconda-gui-38.23.4-2.fc38.x86_64

Comment 1 Greg Werbin 2023-06-17 03:48:14 UTC
Created attachment 1971250 [details]
File: backtrace

Comment 2 Greg Werbin 2023-06-17 03:48:15 UTC
Created attachment 1971251 [details]
File: os_info

Comment 3 Greg Werbin 2023-06-17 03:48:17 UTC
Created attachment 1971252 [details]
File: environ

Comment 4 Greg Werbin 2023-06-17 03:48:22 UTC
Created attachment 1971253 [details]
File: journalctl

Comment 5 Greg Werbin 2023-06-17 03:48:23 UTC
Created attachment 1971254 [details]
File: description

Comment 6 Greg Werbin 2023-06-17 03:48:26 UTC
Created attachment 1971255 [details]
File: storage.log

Comment 7 Greg Werbin 2023-06-17 03:48:28 UTC
Created attachment 1971256 [details]
File: program.log

Comment 8 Greg Werbin 2023-06-17 03:48:29 UTC
Created attachment 1971257 [details]
File: nmcli_dev_list

Comment 9 Greg Werbin 2023-06-17 03:48:31 UTC
Created attachment 1971258 [details]
File: anaconda.log

Comment 10 Greg Werbin 2023-06-17 03:48:32 UTC
Created attachment 1971259 [details]
File: lsblk_output

Comment 11 Greg Werbin 2023-06-17 03:48:34 UTC
Created attachment 1971260 [details]
File: dbus.log

Comment 12 Greg Werbin 2023-06-17 03:49:00 UTC
Error appeared during installation. It says "creating swap on /dev/sdb3" in the progress display.


comment:        Error appeared during installation. It says "creating swap on /dev/sdb3" in the progress display.
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --graphical
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.26065cq1end9/@var': No such file or directory
kernel:         6.2.9-300.fc38.x86_64
release:        Fedora release 38 (Thirty Eight)
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-KDE-Live-38-1-6 rd.live.image rd.live.check quiet
addons:         com_redhat_kdump
version:        38
other involved packages: python3-libs-3.11.2-1.fc38.x86_64, python3-dasbus-1.7-2.fc38.noarch, anaconda-gui-38.23.4-2.fc38.x86_64

Comment 13 Vladimír Slávik 2023-07-27 17:18:24 UTC
> ERROR: cannot access '/tmp/btrfs-tmp.26065cq1end9/@var'

Vojto, is this based on the made up syntax for subvolumes we use somewhere? I think this bug is just that we use it somewhere that a path should be used, right?

Comment 14 Vojtech Trefny 2023-08-01 09:53:05 UTC
Moving this issue to blivet.

The problem seems to be the creation of `@var/log` subvolume without creating `@var` subvolume first. I am not sure whether this is something supported by btrfs or not. But either way, this needs to be fixed in blivet. Either by fixing how we create the subvolume (if it's supported) or by returning an error earlier.


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