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 2040319 - [RHEL9] blivet.errors.DeviceError: device is too small for new format
Summary: [RHEL9] blivet.errors.DeviceError: device is too small for new format
Keywords:
Status: CLOSED DUPLICATE of bug 2062690
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: python-blivet
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Blivet Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
: 2091499 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-13 13:11 UTC by guazhang@redhat.com
Modified: 2022-05-31 08:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-11 13:27:44 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-107846 0 None None None 2022-01-13 13:21:51 UTC

Description guazhang@redhat.com 2022-01-13 13:11:40 UTC
Description of problem:
python-blivet regression testing hit the error, please help to check.

Version-Release number of selected component (if applicable):
python3-blivet-1:3.4.0-11.el9.noarch
RHEL-9.0.0-20220110.3 BaseOS x86_64

How reproducible:


======================================================================
ERROR: test_get_related_disks (devicetree_test.DeviceTreeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/blivet-3.4.0/tests/devicetree_test.py", line 422, in test_get_related_disks
    sdb.format = get_format("lvmpv", device=sdb.path)
  File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/devices/storage.py", line 780, in <lambda>
    lambda d, f: d._set_format(f),
  File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/devices/storage.py", line 738, in _set_format
    raise errors.DeviceError("device is too small for new format")
blivet.errors.DeviceError: device is too small for new format

======================================================================
ERROR: test_lvm_filter_hide_unhide (devicetree_test.DeviceTreeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/blivet-3.4.0/tests/devicetree_test.py", line 452, in test_lvm_filter_hide_unhide
    sdb.format = get_format("lvmpv", device=sdb.path)
  File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/devices/storage.py", line 780, in <lambda>
    lambda d, f: d._set_format(f),
  File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/root/rpmbuild/BUILD/blivet-3.4.0/blivet/devices/storage.py", line 738, in _set_format
    raise errors.DeviceError("device is too small for new format")
blivet.errors.DeviceError: device is too small for new format

Comment 1 Vojtech Trefny 2022-03-11 13:27:44 UTC
The test fails in a different way, but the underlying issue is the same as in #2062690

*** This bug has been marked as a duplicate of bug 2062690 ***

Comment 2 Vojtech Trefny 2022-05-31 08:37:36 UTC
*** Bug 2091499 has been marked as a duplicate of this bug. ***


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