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 2013090 - [RHEL9] libblockdev hit error Logical volume testVG/testLV in use
Summary: [RHEL9] libblockdev hit error Logical volume testVG/testLV in use
Keywords:
Status: CLOSED DUPLICATE of bug 2030647
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libblockdev
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Vojtech Trefny
QA Contact: guazhang@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-12 05:35 UTC by guazhang@redhat.com
Modified: 2021-12-10 07:50 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-10 07:50:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-99472 0 None None None 2021-10-12 05:35:30 UTC

Description guazhang@redhat.com 2021-10-12 05:35:08 UTC
Description of problem:
libblockdev regression testing hit the error, please have a look if hit a bug

Version-Release number of selected component (if applicable):
libblockdev-2.25-7.el9.src.rpm

How reproducible:
sometimes

======================================================================
ERROR: test_lvcreate_type (lvm_dbus_tests.LvmTestLVcreateType)
Verify it's possible to create LVs with various types
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/libblockdev-2.25/tests/lvm_dbus_tests.py", line 769, in test_lvcreate_type
    succ = BlockDev.lvm_lvremove("testVG", "testLV", True, None)
  File "/root/rpmbuild/BUILD/libblockdev-2.25/src/python/gi/overrides/BlockDev.py", line 566, in lvm_lvremove
    return _lvm_lvremove(vg_name, lv_name, force, extra)
gi.repository.GLib.GError: g-bd-lvm-error-quark: Running 'Remove' method on the '/com/redhat/lvmdbus1/Lv/8' object failed: ('com.redhat.lvmdbus1.Lv', 'Exit code 5, stderr =   Logical volume testVG/testLV in use.\n') (7)




http://lab-04.rhts.eng.pek2.redhat.com/beaker/logs/tasks/133088+/133088201/taskout.log

https://beaker.engineering.redhat.com/recipes/10776828#task133088201

Comment 1 guazhang@redhat.com 2021-10-27 14:25:45 UTC
Hi

libblockdev-2.25-7.el9.x86_64 

======================================================================
ERROR: test_lvcreate_type (lvm_test.LvmTestLVcreateType)
Verify it's possible to create LVs with various types
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/libblockdev-2.25/tests/lvm_test.py", line 701, in test_lvcreate_type
    succ = BlockDev.lvm_lvremove("testVG", "testLV", True, None)
  File "/root/rpmbuild/BUILD/libblockdev-2.25/src/python/gi/overrides/BlockDev.py", line 566, in lvm_lvremove
    return _lvm_lvremove(vg_name, lv_name, force, extra)
gi.repository.GLib.GError: g-bd-utils-exec-error-quark: Process reported exit code 5:   Devices file sys_wwid naa.600140538274feeb7d4449c9e62fa174 PVID none not found.
  Devices file sys_wwid naa.6001405b138c16ab0bb460599dfc4e86 PVID none not found.
  Devices file sys_wwid naa.60014054f88e64a339e4d24a89d98bc3 PVID 1unGj0hOZFwJl3oscDSnd20UIwrj60wg not found.
  Devices file sys_wwid naa.60014051f5ccebdda6c4a81b632fef1c PVID none not found.
  Devices file sys_wwid naa.600140549afb5dfb2ec432db24c2a52b PVID none not found.
  Devices file sys_wwid naa.6001405733914ab75b242d4afaeec8c4 PVID none not found.
  Devices file sys_wwid naa.6001405ca3099d70f1546abbff5372bf PVID none not found.
  Devices file sys_wwid naa.6001405529dde4ddc8c454a88788e16e PVID lgQsfwGx9Ph2Hmf3c3wIcEHtP8PghCig not found.
  Devices file sys_wwid naa.6001405bf661e8cab3b4a559543bf7a5 PVID none not found.
  Devices file sys_wwid naa.60014050bf6864df4954a2f864a0baae PVID CLS5Fte88cBpPLVmQXU7cSHAMnUEl4Rn not found.
  Devices file sys_wwid naa.60014053f3e374dc4b341c78c7c70cfc PVID none not found.
  Devices file sys_wwid naa.6001405b2992de9913f4f569703cabc3 PVID none not found.
  Devices file sys_wwid naa.600140586a466f3eb394a97b2eac0985 PVID none not found.
  Devices file sys_wwid naa.60014055e094fda250f4fee96750dd3b PVID none not found.
  Devices file sys_wwid naa.6001405e44e3aa3dc884b4a90af9f427 PVID none not found.
  Devices file sys_wwid naa.600140505cdd8082b0a429a9271c894c PVID none not found.
  Devices file sys_wwid naa.60014054f7aa682c2f84238afe1b28e2 PVID none not found.
  Devices file sys_wwid naa.6001405bacdfb51656c492a8a144dab8 PVID none not found.
  Devices file sys_wwid naa.6001405c5c12fbe706942e0a158c56f5 PVID none not found.
  Devices file sys_wwid naa.60014059998835b085f4da4be0cd33c4 PVID none not found.
  Devices file sys_wwid naa.60014056061d77921f5431899aac06a0 PVID none not found.
  Devices file sys_wwid naa.60014054dcc22dd114542709655157fa PVID none not found.
  Devices file sys_wwid naa.600140508e7e9e9d77a44118c9d62c7a PVID none not found.
  Devices file sys_wwid naa.6001405651e0fe46d1a4b949f89c75ae PVID none not found.
  Devices file sys_wwid naa.6001405967a71d671b848c2b631187e1 PVID none not found.
  Devices file sys_wwid naa.60014051121f01514634f37b77a3922b PVID none not found.
  Devices file sys_wwid naa.6001405ff05a2e08d4b48dcbf9643752 PVID none not found.
  Devices file sys_wwid naa.6001405abd9c57d08d44fb08b397bfa7 PVID none not found.
  Devices file sys_wwid naa.6001405f8eb949c06d7437b9051dac58 PVID none not found.
  Devices file sys_wwid naa.6001405629f50bda6a04e45b30f31ed3 PVID none not found.
  Devices file sys_wwid naa.600140534ce1eb220874f769cb8ae519 PVID none not found.
  Devices file sys_wwid naa.60014055148cc77d477414896940716c PVID none not found.
  Devices file sys_wwid naa.60014059fdf374b09464f05821dfa1cd PVID none not found.
  Devices file sys_wwid naa.6001405222ae28a1077494ea1223acef PVID none not found.
  Devices file sys_wwid naa.600140526134df47ba5440f935fa7256 PVID none not found.
  Devices file sys_wwid naa.6001405f790909760e14b7b8e5b0f396 PVID none not found.
  Devices file sys_wwid naa.60014053f629238302e4f94afb77645d PVID none not found.
  Devices file sys_wwid naa.60014053545dd4f72c5498a922803963 PVID none not found.
  Devices file sys_wwid naa.6001405cac90790eb7544c8be4d1a13a PVID none not found.
  Devices file sys_wwid naa.6001405c17814d7c24d4bc48d754188b PVID none not found.
  Devices file sys_wwid naa.60014051de045dc6ba84528bb988888e PVID none not found.
  Devices file sys_wwid naa.60014052262681f34f04fc5aa1b3fec4 PVID none not found.
  Devices file sys_wwid naa.6001405ac22e43de21f4cb28a2093fb1 PVID none not found.
  Devices file sys_wwid naa.600140524a73758870e4838bf45ca8ac PVID none not found.
  Devices file sys_wwid naa.6001405dd5a7e7dce7f4353a4847b71e PVID none not found.
  Devices file sys_wwid naa.600140590d00db766124fd19895faae6 PVID none not found.
  Devices file sys_wwid naa.6001405c76f91db3c3946f289d5c14dc PVID none not found.
  Devices file sys_wwid naa.6001405da069060961d4f3b9c2edb3f6 PVID none not found.
  Devices file sys_wwid naa.6001405e9d15bd2ca1d499d902fcc523 PVID none not found.
  Devices file sys_wwid naa.60014051cec0b79fdd241f9984706bff PVID none not found.
  Devices file sys_wwid naa.60014059201d5da20c54e0b8ad8b76c6 PVID none not found.
  Devices file sys_wwid naa.6001405560534ceb42346cf8f4d3b3d9 PVID none not found.
  Devices file sys_wwid naa.60014057f5468bf4b6c4ee7afe66289d PVID none not found.
  Devices file sys_wwid naa.6001405aa95c83da70e444dae215a570 PVID none not found.
  Devices file sys_wwid naa.6001405db7a232e126b42cb94dde4fcc PVID none not found.
  Devices file sys_wwid naa.6001405f0fdba60f2764612872dc11b9 PVID none not found.
  Devices file sys_wwid naa.6001405a71dec82cda0490ba8a29fe1c PVID none not found.
  Devices file sys_wwid naa.6001405e1926f65d06b47bcbd16c1581 PVID none not found.
  Devices file sys_wwid naa.6001405401828b4ac224284b6ef2def1 PVID none not found.
  Devices file sys_wwid naa.60014058d4079d9d8ab4f2cba8723369 PVID none not found.
  Devices file sys_wwid naa.60014050335b1baa31f4758841020037 PVID none not found.
  Logical volume testVG/testLV in use.
 (0)



https://beaker.engineering.redhat.com/recipes/10853405#task133730004

https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2021/10/59281/5928164/10853405/133730006/taskout.log

Comment 2 Vojtech Trefny 2021-12-10 07:50:10 UTC

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


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