Bug 2001351 - blivet.errors.DeviceTreeError: could not find parent for subvol
Summary: blivet.errors.DeviceTreeError: could not find parent for subvol
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 35
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Blivet Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-05 16:42 UTC by Sampson Fung
Modified: 2022-12-13 15:35 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-12-13 15:35:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
jourbal of the live session (972.33 KB, text/plain)
2021-09-05 16:42 UTC, Sampson Fung
no flags Details
anaconda.log (11.28 KB, text/plain)
2021-09-05 16:44 UTC, Sampson Fung
no flags Details
program.log (20.02 KB, text/plain)
2021-09-05 16:52 UTC, Sampson Fung
no flags Details
storage.log (382.03 KB, text/plain)
2021-09-05 16:52 UTC, Sampson Fung
no flags Details
fpaste --sysinfo (19.10 KB, text/plain)
2021-09-05 16:54 UTC, Sampson Fung
no flags Details

Description Sampson Fung 2021-09-05 16:42:47 UTC
Created attachment 1820687 [details]
jourbal of the live session

Description of problem:
Anaconda aborted with:


The following error occurred while setting up the payload. This is a fatal error and installation will be aborted.

Version-Release number of selected component (if applicable):
Fedora-34 official ISO, and
Fedora-35 (Fedora-WS-Live-35-20210904-n-0)


How reproducible:
100%

Steps to Reproduce:
1.  "Burn" ISO to USB using dd
2.  Boot ISO
3.  Run Install to Harddisk
4.  Select English
5.  Wait and Anaconda aborted with fatal error

Actual results:
Anaconda aborted with fatal error

Expected results:
Anaconda should allow me to configure storage for the installation.

Additional info:
This issues must be storage related - as it works if there are nothing in the storage devices.  And it fails when my drives has lots of btrfs subvols.

Comment 1 Sampson Fung 2021-09-05 16:44:27 UTC
Created attachment 1820688 [details]
anaconda.log

Comment 2 Sampson Fung 2021-09-05 16:52:19 UTC
Created attachment 1820689 [details]
program.log

program.log

Comment 3 Sampson Fung 2021-09-05 16:52:57 UTC
Created attachment 1820690 [details]
storage.log

storage.log

Comment 4 Sampson Fung 2021-09-05 16:54:16 UTC
Created attachment 1820691 [details]
fpaste --sysinfo

fpaste --sysinfo

Comment 5 Vendula Poncova 2021-09-06 10:35:47 UTC
From storage.log:

INFO:blivet:added btrfs subvolume _btrbk_backup/1T/.beeshome.20210726T0401 (id 734) to device tree
ERROR:blivet:failed to find parent (4874) for subvol 2-dat/VoiceMemos/VoiceMemos
INFO:anaconda.threading:Thread Failed: AnaTaskThread-ScanDevicesTask-1 (139830210020928)
ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-ScanDevicesTask-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/reset.py", line 63, in run
    self._reset_storage(self._storage)
  File "/usr/lib64/python3.10/site-packages/pyanaconda/modules/storage/reset.py", line 82, in _reset_storage
    storage.reset()
  File "/usr/lib/python3.10/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.10/site-packages/pyanaconda/modules/storage/devicetree/model.py", line 259, in reset
    super().reset(cleanup_only=cleanup_only)
  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 140, in reset
    self.devicetree.populate(cleanup_only=cleanup_only)
  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/populator/populator.py", line 419, in populate
    self._populate()
  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/populator/populator.py", line 464, in _populate
    self.handle_device(dev)
  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/populator/populator.py", line 282, in handle_device
    self.handle_format(info, device)
  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/populator/populator.py", line 310, in handle_format
    helper_class(self, info, device).run()
  File "/usr/lib/python3.10/site-packages/blivet/populator/helpers/btrfs.py", line 86, in run
    raise DeviceTreeError("could not find parent for subvol")
blivet.errors.DeviceTreeError: could not find parent for subvol

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

Comment 6 Ben Cotton 2022-11-29 17:04:15 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 7 Ben Cotton 2022-12-13 15:35:01 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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