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 2031673 - [udisks2] Volume group "udisks_test_snap_vg" has insufficient free space
Summary: [udisks2] Volume group "udisks_test_snap_vg" has insufficient free space
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: udisks2
Version: 9.0
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: guazhang@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 2027125
TreeView+ depends on / blocked
 
Reported: 2021-12-13 08:17 UTC by guazhang@redhat.com
Modified: 2023-11-07 09:50 UTC (History)
1 user (show)

Fixed In Version: udisks2-2.9.4-8.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-07 08:33:21 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-105482 0 None None None 2021-12-13 08:21:47 UTC
Red Hat Product Errata RHBA-2023:6453 0 None None None 2023-11-07 08:33:29 UTC

Description guazhang@redhat.com 2021-12-13 08:17:06 UTC
Description of problem:
udisks2 regression hit the error,  please have a look

Version-Release number of selected component (if applicable):
udisks2-2.9.4-2.el9


======================================================================
ERROR: test_30_snapshot (test_20_LVM.UdisksLVMTest)
Test LVM snapshoting
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/udisks-2.9.4/src/tests/dbus-tests/test_20_LVM.py", line 283, in test_30_snapshot
    snap_path = lv.CreateSnapshot(snapname, vg_freesize, self.no_options,
  File "/usr/lib64/python3.9/site-packages/dbus/proxies.py", line 72, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib64/python3.9/site-packages/dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
  File "/root/rpmbuild/BUILD/udisks-2.9.4/src/tests/dbus-tests/udiskstestcase.py", line 42, in call_long
    return call(*args, **kwargs)
  File "/usr/lib64/python3.9/site-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.UDisks2.Error.Failed: Error creating snapshot: Process reported exit code 5:   Volume group "udisks_test_snap_vg" has insufficient free space (248 extents): 249 required.



https://beaker.engineering.redhat.com/recipes/11132022#task136763160

Comment 1 guazhang@redhat.com 2021-12-13 08:23:02 UTC
udisks2-2.9.4-2.el9
======================================================================
ERROR: test_40_cache (test_20_LVM.UdisksLVMTest)
Basic LVM cache test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/udisks-2.9.4/src/tests/dbus-tests/test_20_LVM.py", line 333, in test_40_cache
    lv.CacheAttach('udisks_test_cache_lv', self.no_options, dbus_interface=self.iface_prefix + '.LogicalVolume')
  File "/usr/lib64/python3.9/site-packages/dbus/proxies.py", line 72, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib64/python3.9/site-packages/dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
  File "/root/rpmbuild/BUILD/udisks-2.9.4/src/tests/dbus-tests/udiskstestcase.py", line 42, in call_long
    return call(*args, **kwargs)
  File "/usr/lib64/python3.9/site-packages/dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.UDisks2.Error.Failed: Error converting volume: Process reported exit code 5:   WARNING: Converting udisks_test_cache_vg/udisks_test_cache_lv to cache pool's data volume with metadata wiping.
  THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.)
  Volume group "udisks_test_cache_vg" has insufficient free space (0 extents): 2 required.
  LV udisks_test_cache_vg/udisks_test_cache_lv_cdata could not be converted to a cache pool.

https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2021/12/60896/6089668/11132024/136763219/taskout.log
https://beaker.engineering.redhat.com/recipes/11132024#task136763217

Comment 2 Tomáš Bžatek 2022-02-01 13:30:49 UTC
Known issue for ages, however we still haven't managed to find out the real cause. Might be an issue in lvm as well.

Comment 4 Tomáš Bžatek 2023-05-25 15:13:54 UTC
I've had good success after picking these two commits:

https://github.com/storaged-project/udisks/commit/28c39786927ad683f56c031d80a5c06f5b5b9aea
https://github.com/storaged-project/udisks/commit/f24601b1d1302350fff15f326bfe3cfabde05f4c

None of these fully explain the problems described, we know that the udisks2 lvm2 module has known deficiencies and limitation and that's too much work for RHEL 9.

Still, having these two commits integrated wouldn't hurt.

Comment 8 errata-xmlrpc 2023-11-07 08:33:21 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 (udisks2 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:6453


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