RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2139166 - gi.repository.GLib.GError: g-bd-init-error-quark: The function 'bd_btrfs_list_subvolumes' called, but not implemented! (1)
Summary: gi.repository.GLib.GError: g-bd-init-error-quark: The function 'bd_btrfs_list...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: python-blivet
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Vojtech Trefny
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 2123711 2129768
TreeView+ depends on / blocked
 
Reported: 2022-11-01 16:59 UTC by Jan Stodola
Modified: 2023-05-09 08:38 UTC (History)
2 users (show)

Fixed In Version: python-blivet-3.6.0-3.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 07:36:35 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda-tb (437.32 KB, text/plain)
2022-11-01 17:00 UTC, Jan Stodola
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-138001 0 None None None 2022-11-01 17:03:30 UTC
Red Hat Issue Tracker RTT-4962 0 None None None 2022-11-02 12:44:41 UTC
Red Hat Issue Tracker RTT-4963 0 None None None 2022-11-02 12:44:44 UTC
Red Hat Product Errata RHBA-2023:2230 0 None None None 2023-05-09 07:36:45 UTC

Description Jan Stodola 2022-11-01 16:59:52 UTC
Description of problem:
There is a traceback when starting an installation on a system with a pre-existing btrfs:

INFO:program:Running... mount -t btrfs -o subvolid=5 /dev/vda2 /tmp/btrfs-tmp.33g8ed35mx
INFO:program:stderr:
INFO:program:b"mount: /tmp/btrfs-tmp.33g8ed35mx: unknown filesystem type 'btrfs'."
DEBUG:program:Return code: 32
INFO:program:Running... umount /tmp/btrfs-tmp.33g8ed35mx
INFO:program:stderr:
INFO:program:b'umount: /tmp/btrfs-tmp.33g8ed35mx: not mounted.'
DEBUG:program:Return code: 32
INFO:anaconda.threading:Thread Failed: AnaTaskThread-ScanDevicesTask-1 (139942650967616)
ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-ScanDevicesTask-1 has failed: Traceback (most recent call last):
  File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 1093, in wrapped
    ret = orig_obj(*args, **kwargs)
  File "/usr/lib64/python3.9/site-packages/gi/overrides/BlockDev.py", line 164, in btrfs_list_subvolumes
    return _btrfs_list_subvolumes(mountpoint, snapshots_only)
gi.repository.GLib.GError: g-bd-init-error-quark: The function 'bd_btrfs_list_subvolumes' called, but not implemented! (1)

Version-Release number of selected component (if applicable):
RHEL-9.2.0-20221101.d.0
anaconda-34.25.2.1-1.el9
python3-blivet-3.6.0-2.el9
libblockdev-2.28-2.el9

How reproducible:
Always

Steps to Reproduce:
1. install a system with btrfs file system
2. start a new installation of rhel

Actual results:
A traceback when the installer starts.

Expected results:
No traceback, it should be possible to erase existing partitions and create new.

Additional info:
This is a regression, not reproducible on RHEL-9.1, perhaps related to blivet rebase (bug 2123711).

Comment 1 Jan Stodola 2022-11-01 17:00:55 UTC
Created attachment 1921556 [details]
anaconda-tb

Comment 2 Jan Stodola 2022-11-01 17:16:02 UTC
Also reproduced on RHEL-8, reported as bug 2139169.

Comment 4 Vojtech Trefny 2022-11-02 11:55:38 UTC
upstream PR: https://github.com/storaged-project/blivet/pull/1079

Comment 9 Petr Beranek 2022-11-14 12:03:27 UTC
Checked that python-blivet-3.6.0-3.el9 is in nightly compose RHEL-9.2.0-20221110.2
There's no documentation needed for this bug - not checking
No further testing is needed during verification based on comment 3

Moving to VERIFIED

Comment 11 errata-xmlrpc 2023-05-09 07:36:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (python-blivet bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2230


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