Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2090804

Summary: Orphaned lock /run/lock/lvm/D_system.devices when running lvm shell
Product: Red Hat Enterprise Linux 9 Reporter: Tony Asleson <tasleson>
Component: lvm2Assignee: Tony Asleson <tasleson>
lvm2 sub component: Command-line tools QA Contact: cluster-qe <cluster-qe>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: agk, cmarthal, heinzm, jbrassow, mcsontos, msnitzer, prajnoha, teigland, thornber, zkabelac
Version: 9.1Keywords: Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lvm2-2.03.16-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 11:20:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tony Asleson 2022-05-26 15:08:15 UTC
Description of problem:

During the lvmdbusd unit test 'test_external_lv_create' the unit test uses the dbus api to create a VG and then uses the command line directly to create a LV to ensure the dbus daemon picks up on the newly created LV.  During the test, the command to create the LV appears to be blocked while the dbus daemon is idle waiting for something to do.  Blocked on /run/lock/lvm/D_system.devices.

The lvm shell process appears to have forgotten to free this lock, addl. debug below.


Version-Release number of selected component (if applicable):
Using locally built from git a30013ff4f5981afd7778597172e0e834ca99cd4 as the lvm shell in release package doesn't work with lvm shell support in lvmdbusd.


How reproducible:
Not sure


Steps to Reproduce:
1. Run the lvmdbusd unit test
2. observe the unit test hanging during lvm shell testing

Actual results:
unit test hangs at:

test_external_lv_create (__main__.TestDbusService) ...


Expected results:
Unit test completes without errors


Additional info:

lsmdbusd, lvm shell appears to be waiting for a new command and is holding a write lock on the device file

PID 531119

#0  0x00007f36ae116384 in pselect () from /lib64/libc.so.6
#1  0x00007f36ae5213bb in rl_getc () from /lib64/libreadline.so.8
#2  0x00007f36ae520cd1 in rl_read_key () from /lib64/libreadline.so.8
#3  0x00007f36ae505497 in readline_internal_char () from /lib64/libreadline.so.8
#4  0x00007f36ae50e535 in readline () from /lib64/libreadline.so.8
#5  0x000055df8b63ca0e in lvm_shell ()
#6  0x000055df8b60ccc6 in lvm2_main ()
#7  0x00007f36ae011f20 in __libc_start_call_main () from /lib64/libc.so.6
#8  0x00007f36ae011fd0 in __libc_start_main_impl () from /lib64/libc.so.6
#9  0x000055df8b5e7d55 in _start ()


lslocks -p 531119
COMMAND    PID  TYPE SIZE MODE  M START END PATH
lvm     531119 FLOCK      WRITE 0     0   0 /run/lock/lvm/D_system.devices


Separate lvm process trying to create a LV

PID 532156

(gdb) bt
#0  0x00007fa2fb33988b in flock () from /lib64/libc.so.6
#1  0x0000562dc5fe7d20 in _lock_devices_file.part.0.lto_priv.0 ()
#2  0x0000562dc5fde938 in setup_devices ()
#3  0x0000562dc600b911 in label_scan ()
#4  0x0000562dc5fc56aa in lvmcache_label_scan ()
#5  0x0000562dc5fa577b in process_each_vg ()
#6  0x0000562dc5f8378c in lvcreate ()
#7  0x0000562dc5f8860b in lvm_run_command ()
#8  0x0000562dc5f8a211 in lvm2_main ()
#9  0x00007fa2fb33af20 in __libc_start_call_main () from /lib64/libc.so.6
#10 0x00007fa2fb33afd0 in __libc_start_main_impl () from /lib64/libc.so.6
#11 0x0000562dc5f64e25 in _start ()

lslocks -p 532156
COMMAND    PID  TYPE SIZE MODE  M START END PATH
lvm     532156 FLOCK      READ* 0     0   0 /run/lock/lvm/D_system.devices


To reproduce you only need to run the one unit test

Start the daemon
# ./lvmdbusd  --debug --udev

Run the 1 unit test
# export LVM_DBUSD_TEST_MODE=1
# ./lvmdbustest.py -v TestDbusService.test_external_lv_create

Comment 1 Tony Asleson 2022-05-26 16:13:01 UTC
From adding some addl. debug for local testing, I've found so far that we orphan the lock
/run/lock/lvm/D_system.devices in the `fullreport` and `vgremove -f` paths.

Comment 3 Tony Asleson 2022-05-26 18:05:07 UTC
If you disable support for lvmdevices the unit tests complete without errors when using the lvm shell.

Comment 4 David Teigland 2022-05-26 18:14:52 UTC
This isn't too surprising, it's a recurring kind of issue related to shell/dmeventd, but simple to fix.  These things crop up for shell/dmeventd which use an old idea of attempting to reset command state between commands, rather than staring each command from a clean state.  Since command state is spread all over, and the cleanup is spread all over and inconsistently replicated, certain state-reset is missed, i.e. it's just a missing call to devices_file_exit().  (A better solution would be to create one state-cleanup function and use it for everything, but that's a bigger project.)

Comment 5 Zdenek Kabelac 2022-05-26 20:21:22 UTC
I'd not say it's spread 'all over'  - it more looks like some functionality related to 'devicefile' inclusion missed to properly implement cleanup of command context structure.

There is generic function in toolcontex.c    refresh_toolcontext()

And there are some 'advanced' function to avoid unnecessary 're-parsing' of lvm configuration file and profile files.

So I'd suggest to look which are missing pieces to be implemented for the refreshing of context.

Functionality should not need 'lvmdbusd' - it should be plainly reproducible in lvm shell.

(Also I've tried to play with  libedit & libreadline and haven't notice any difference so far - and this most likely explains why.)

Comment 9 Tony Asleson 2022-05-31 19:06:32 UTC
Using upstream commit bfe072e4388b530cbf5369be8a8f1305220198bf I have verified that this specific
bug has been addressed when compiling lvm2 with readline support enabled.

Comment 13 Tony Asleson 2022-07-20 16:39:24 UTC
This bug requires the fix for: https://bugzilla.redhat.com/show_bug.cgi?id=2090391 before it can be tested.

Comment 14 Tony Asleson 2022-07-20 16:46:50 UTC
(In reply to Tony Asleson from comment #13)
> This bug requires the fix for:
> https://bugzilla.redhat.com/show_bug.cgi?id=2090391 before it can be tested.

Clarification, to verify this using the lvmdbusd unit tests, the fix for 2090391 needs to be present for the lvmdbusd daemon to work with lvm shell.

Comment 15 Corey Marthaler 2022-07-20 16:48:34 UTC
Bumping the ITM out to allow for extra time needed to get the fix mentioned in comment #13

Comment 16 Marian Csontos 2022-07-25 09:36:00 UTC
Removing this from the batch. There were some problems with the patch for bug 2090391 so I did not include it in the previous build

Comment 17 Corey Marthaler 2022-08-03 22:42:16 UTC
After multiple attempts, I can't seem to get the test mentioned in comment #8 to pass with the latest rpms.

kernel-5.14.0-138.el9    BUILT: Sun Jul 31 06:20:38 AM CDT 2022
lvm2-2.03.16-3.el9    BUILT: Mon Aug  1 04:42:35 AM CDT 2022
lvm2-libs-2.03.16-3.el9    BUILT: Mon Aug  1 04:42:35 AM CDT 2022
lvm2-dbusd-2.03.16-3.el9    BUILT: Mon Aug  1 04:41:51 AM CDT 2022



root@hayes-03 tmp]# ./lvmdbustest.py -v
 
*** Testing fork & exec & lvm shell mode ***
 
Testing TMO=0
 
Successfully changed execution mode to "forking & exec'ing"
test_cache_lv_create (__main__.TestDbusService) ... ok
test_cache_lv_rename (__main__.TestDbusService)
Make sure that if we rename a cache lv that we correctly handle the ... ok
test_cache_pool_create (__main__.TestDbusService) ... ok
test_external_lv_create (__main__.TestDbusService) ... ok
test_external_pv_create (__main__.TestDbusService) ... ok
test_external_vg_create (__main__.TestDbusService) ... ok
test_invalid_names (__main__.TestDbusService) ... ok
test_invalid_tags (__main__.TestDbusService) ... ok
test_job_handling (__main__.TestDbusService) ... ok
test_job_handling_timer (__main__.TestDbusService) ... ok
test_lookup_by_lvm_id (__main__.TestDbusService) ... ok
test_lv_activate_deactivate (__main__.TestDbusService) ... ok
test_lv_create (__main__.TestDbusService) ... ok
test_lv_create_job (__main__.TestDbusService) ... ok
test_lv_create_linear (__main__.TestDbusService) ... ok
test_lv_create_mirror (__main__.TestDbusService) ... ok
test_lv_create_pv_specific (__main__.TestDbusService) ... ok
test_lv_create_raid (__main__.TestDbusService) ... ok
test_lv_create_rounding (__main__.TestDbusService) ... ok
test_lv_create_striped (__main__.TestDbusService) ... ok
test_lv_create_thin_pool (__main__.TestDbusService) ... ok
test_lv_interface_cache_lv (__main__.TestDbusService) ... ok
test_lv_interface_plain_lv (__main__.TestDbusService) ... ok
test_lv_interface_thin_pool_lv (__main__.TestDbusService) ... ok
test_lv_interface_vdo_lv (__main__.TestDbusService) ... ok
test_lv_interface_vdo_pool_lv (__main__.TestDbusService) ... ok
test_lv_move (__main__.TestDbusService) ... ok
test_lv_on_thin_pool_rename (__main__.TestDbusService) ... ok
test_lv_remove (__main__.TestDbusService) ... ok
test_lv_rename (__main__.TestDbusService) ... ok
test_lv_resize (__main__.TestDbusService) ... ok
test_lv_resize_same (__main__.TestDbusService) ... ok
test_lv_snapshot (__main__.TestDbusService) ... ok
test_lv_tags (__main__.TestDbusService) ... ok
test_lv_thinpool_rename (__main__.TestDbusService) ... ok
test_meta_lv_data_lv_props (__main__.TestDbusService) ... ok
test_move (__main__.TestDbusService) ... ok
test_nesting (__main__.TestDbusService) ... ok
test_prop_get (__main__.TestDbusService) ... ok
test_pv_allocation (__main__.TestDbusService) ... ok
test_pv_remove_add (__main__.TestDbusService) ... ok
test_pv_resize (__main__.TestDbusService) ... ok
test_pv_scan (__main__.TestDbusService) ... ok
test_pv_symlinks (__main__.TestDbusService) ... ok
test_pv_tags (__main__.TestDbusService) ... ok
test_refresh (__main__.TestDbusService) ... ok
test_snapshot_merge (__main__.TestDbusService) ... ok
test_snapshot_merge_thin (__main__.TestDbusService) ... ok
test_tag_names (__main__.TestDbusService) ... ok
test_tag_regression (__main__.TestDbusService) ... ok
test_vdo_pool_compression_deduplication (__main__.TestDbusService) ... ok
test_vdo_pool_convert (__main__.TestDbusService) ... ok
test_vdo_pool_create (__main__.TestDbusService) ... ok
test_version (__main__.TestDbusService) ... ok
test_vg_activate_deactivate (__main__.TestDbusService) ... ok
test_vg_allocation_policy_set (__main__.TestDbusService) ... ok
test_vg_change (__main__.TestDbusService) ... ok
test_vg_create (__main__.TestDbusService) ... ok
test_vg_delete (__main__.TestDbusService) ... ok
test_vg_extend (__main__.TestDbusService) ... ok
test_vg_max_lv (__main__.TestDbusService) ... ok
test_vg_max_pv (__main__.TestDbusService) ... ok
test_vg_reduce (__main__.TestDbusService) ... ok
test_vg_rename (__main__.TestDbusService) ... ok
test_vg_rename_with_thin_pool (__main__.TestDbusService) ... ok
test_vg_tags (__main__.TestDbusService) ... ok
test_vg_uuid_gen (__main__.TestDbusService) ... ok
test_writecache_lv (__main__.TestDbusService) ... ok
 
----------------------------------------------------------------------
Ran 68 tests in 218.808s
 
OK
Successfully changed execution mode to "lvm shell (non-fork)"
test_cache_lv_create (__main__.TestDbusService) ... ok
test_cache_lv_rename (__main__.TestDbusService)
Make sure that if we rename a cache lv that we correctly handle the ... ok
test_cache_pool_create (__main__.TestDbusService) ... ok
test_external_lv_create (__main__.TestDbusService) ... ok
test_external_pv_create (__main__.TestDbusService) ... ok
test_external_vg_create (__main__.TestDbusService) ... ok
test_invalid_names (__main__.TestDbusService) ... ok
test_invalid_tags (__main__.TestDbusService) ... ok
test_job_handling (__main__.TestDbusService) ... ok
test_job_handling_timer (__main__.TestDbusService) ... ok
test_lookup_by_lvm_id (__main__.TestDbusService) ... ok
test_lv_activate_deactivate (__main__.TestDbusService) ... ok
test_lv_create (__main__.TestDbusService) ... ok
test_lv_create_job (__main__.TestDbusService) ... ok
test_lv_create_linear (__main__.TestDbusService) ... ok
test_lv_create_mirror (__main__.TestDbusService) ... ok
test_lv_create_pv_specific (__main__.TestDbusService) ... ok
test_lv_create_raid (__main__.TestDbusService) ... ok
test_lv_create_rounding (__main__.TestDbusService) ... ok
test_lv_create_striped (__main__.TestDbusService) ... ok
test_lv_create_thin_pool (__main__.TestDbusService) ... ok
test_lv_interface_cache_lv (__main__.TestDbusService) ... ok
test_lv_interface_plain_lv (__main__.TestDbusService) ... ok
test_lv_interface_thin_pool_lv (__main__.TestDbusService) ... ok
test_lv_interface_vdo_lv (__main__.TestDbusService) ... ok
test_lv_interface_vdo_pool_lv (__main__.TestDbusService) ... ok
test_lv_move (__main__.TestDbusService) ... ok
test_lv_on_thin_pool_rename (__main__.TestDbusService) ... ok
test_lv_remove (__main__.TestDbusService) ... ok
test_lv_rename (__main__.TestDbusService) ... ok
test_lv_resize (__main__.TestDbusService) ... ok
test_lv_resize_same (__main__.TestDbusService) ... ok
test_lv_snapshot (__main__.TestDbusService) ... ok
test_lv_tags (__main__.TestDbusService) ... ok
test_lv_thinpool_rename (__main__.TestDbusService) ... ok
test_meta_lv_data_lv_props (__main__.TestDbusService) ... ok
test_move (__main__.TestDbusService) ... ok
test_nesting (__main__.TestDbusService) ... ok
test_prop_get (__main__.TestDbusService) ... ok
test_pv_allocation (__main__.TestDbusService) ... ok
test_pv_remove_add (__main__.TestDbusService) ... ok
test_pv_resize (__main__.TestDbusService) ... ok
test_pv_scan (__main__.TestDbusService) ...
[STUCK]




[root@hayes-03 ~]# lvmdbusd  --debug --udev
[...]

Aug 03 17:26:11.220959: 14880:14880 - Main thread execution, callback = <function Object._message_cb.<locals>.<lambda> at 0x7f211e151e50>, parameters = (False)
Aug 03 17:26:12.220918: 14880:14880 - Main thread execution, callback = <function Object._message_cb.<locals>.<lambda> at 0x7f211e151e50>, parameters = (False)
Aug 03 17:26:13.220772: 14880:14880 - Main thread execution, callback = <function Object._message_cb.<locals>.<lambda> at 0x7f211e151e50>, parameters = (False)
 
Aug 03 17:28:39.436653: 14880:14880 - Dumping thread stack frames!
Thread: Thread-1
  File "/usr/lib64/python3.9/threading.py", line 937, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib64/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/site-packages/pyudev/monitor.py", line 522, in run
    for file_descriptor, event in eintr_retry_call(notifier.poll):
  File "/usr/lib/python3.9/site-packages/pyudev/_util.py", line 159, in eintr_retry_call
    return func(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pyudev/_os/poll.py", line 95, in poll
    self._parse_events(eintr_retry_call(self._notifier.poll, timeout)))
  File "/usr/lib/python3.9/site-packages/pyudev/_util.py", line 159, in eintr_retry_call
    return func(*args, **kwargs)
 
Thread: StateUpdate.update_thread
  File "/usr/lib64/python3.9/threading.py", line 937, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib64/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.9/threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.9/site-packages/lvmdbusd/fetch.py", line 139, in update_thread
    queued_requests.append(obj.queue.get(True, 2))
  File "/usr/lib64/python3.9/queue.py", line 180, in get
    self.not_empty.wait(remaining)
  File "/usr/lib64/python3.9/threading.py", line 316, in wait
    gotit = waiter.acquire(True, timeout)
 
Thread: process_request
  File "/usr/lib64/python3.9/threading.py", line 937, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib64/python3.9/threading.py", line 980, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.9/threading.py", line 917, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.9/site-packages/lvmdbusd/main.py", line 49, in process_request
    req.run_cmd()
  File "/usr/lib/python3.9/site-packages/lvmdbusd/request.py", line 72, in run_cmd
    result = self.method(*self.arguments)
  File "/usr/lib/python3.9/site-packages/lvmdbusd/manager.py", line 220, in _pv_scan
    rc, out, err = cmdhandler.pv_scan(
  File "/usr/lib/python3.9/site-packages/lvmdbusd/cmdhandler.py", line 729, in pv_scan
    return call(cmd)
  File "/usr/lib/python3.9/site-packages/lvmdbusd/cmdhandler.py", line 203, in time_wrapper
    results = _t_call(command, debug)
  File "/usr/lib/python3.9/site-packages/lvmdbusd/lvm_shell_proxy.py", line 209, in call_lvm
    stdout, report_json, stderr = self._read_response()
  File "/usr/lib/python3.9/site-packages/lvmdbusd/lvm_shell_proxy.py", line 66, in _read_response
    ready = select.select(rd_fd, [], [], 2)
 
Thread: MainThread
  File "/usr/sbin/lvmdbusd", line 16, in <module>
    sys.exit(main())
  File "/usr/lib/python3.9/site-packages/lvmdbusd/main.py", line 197, in main
    cfg.loop.run()
  File "/usr/lib/python3.9/site-packages/gi/overrides/GLib.py", line 497, in run
    super(MainLoop, self).run()
  File "/usr/lib/python3.9/site-packages/lvmdbusd/utils.py", line 344, in handler
    dump_threads_stackframe()
  File "/usr/lib/python3.9/site-packages/lvmdbusd/utils.py", line 324, in dump_threads_stackframe
    stack = traceback.format_list(traceback.extract_stack(frame))

Comment 19 Corey Marthaler 2022-08-04 16:34:18 UTC
The scenario test_pv_scan appears to deadlocks each time I run with with the latest rpms. That scenario is a requirement for the verification of this bug. Moving back to ASSIGNED.

kernel-5.14.0-138.el9    BUILT: Sun Jul 31 06:20:38 AM CDT 2022
lvm2-2.03.16-3.el9    BUILT: Mon Aug  1 04:42:35 AM CDT 2022
lvm2-libs-2.03.16-3.el9    BUILT: Mon Aug  1 04:42:35 AM CDT 2022
lvm2-dbusd-2.03.16-3.el9    BUILT: Mon Aug  1 04:41:51 AM CDT 2022




test_pv_resize (__main__.TestDbusService) ... ok
test_pv_scan (__main__.TestDbusService) ...

Comment 20 Tony Asleson 2022-08-04 18:53:27 UTC
Root cause for hang in test_pv_scan has been identified, a separate bz has been written.
Excluding the test_pv_scan unit test we run successfully on QA system, issue can be considered
verified.

# LVM_DBUSD_TEST_MODE=1 ./lvmdbustest.py -v

*** Testing only lvm shell mode ***

Testing TMO=0

Successfully changed execution mode to "lvm shell (non-fork)"
test_cache_lv_create (__main__.TestDbusService) ... ok
test_cache_lv_rename (__main__.TestDbusService)
Make sure that if we rename a cache lv that we correctly handle the ... ok
test_cache_pool_create (__main__.TestDbusService) ... ok
test_external_lv_create (__main__.TestDbusService) ... ok
test_external_pv_create (__main__.TestDbusService) ... ok
test_external_vg_create (__main__.TestDbusService) ... ok
test_invalid_names (__main__.TestDbusService) ... ok
test_invalid_tags (__main__.TestDbusService) ... ok
test_job_handling (__main__.TestDbusService) ... ok
test_job_handling_timer (__main__.TestDbusService) ... ok
test_lookup_by_lvm_id (__main__.TestDbusService) ... ok
test_lv_activate_deactivate (__main__.TestDbusService) ... ok
test_lv_create (__main__.TestDbusService) ... ok
test_lv_create_job (__main__.TestDbusService) ... ok
test_lv_create_linear (__main__.TestDbusService) ... ok
test_lv_create_mirror (__main__.TestDbusService) ... ok
test_lv_create_pv_specific (__main__.TestDbusService) ... ok
test_lv_create_raid (__main__.TestDbusService) ... ok
test_lv_create_rounding (__main__.TestDbusService) ... ok
test_lv_create_striped (__main__.TestDbusService) ... ok
test_lv_create_thin_pool (__main__.TestDbusService) ... ok
test_lv_interface_cache_lv (__main__.TestDbusService) ... ok
test_lv_interface_plain_lv (__main__.TestDbusService) ... ok
test_lv_interface_thin_pool_lv (__main__.TestDbusService) ... ok
test_lv_interface_vdo_lv (__main__.TestDbusService) ... ok
test_lv_interface_vdo_pool_lv (__main__.TestDbusService) ... ok
test_lv_move (__main__.TestDbusService) ... ok
test_lv_on_thin_pool_rename (__main__.TestDbusService) ... ok
test_lv_remove (__main__.TestDbusService) ... ok
test_lv_rename (__main__.TestDbusService) ... ok
test_lv_resize (__main__.TestDbusService) ... ok
test_lv_resize_same (__main__.TestDbusService) ... ok
test_lv_snapshot (__main__.TestDbusService) ... ok
test_lv_tags (__main__.TestDbusService) ... ok
test_lv_thinpool_rename (__main__.TestDbusService) ... ok
test_meta_lv_data_lv_props (__main__.TestDbusService) ... ok
test_move (__main__.TestDbusService) ... ok
test_nesting (__main__.TestDbusService) ... ok
test_prop_get (__main__.TestDbusService) ... ok
test_pv_allocation (__main__.TestDbusService) ... ok
test_pv_remove_add (__main__.TestDbusService) ... ok
test_pv_resize (__main__.TestDbusService) ... ok
test_pv_scan (__main__.TestDbusService) ... skipped 'skipping pv scan test due to known issue'
test_pv_symlinks (__main__.TestDbusService) ... ok
test_pv_tags (__main__.TestDbusService) ... ok
test_refresh (__main__.TestDbusService) ... ok
test_snapshot_merge (__main__.TestDbusService) ... ok
test_snapshot_merge_thin (__main__.TestDbusService) ... ok
test_tag_names (__main__.TestDbusService) ... ok
test_tag_regression (__main__.TestDbusService) ... ok
test_vdo_pool_compression_deduplication (__main__.TestDbusService) ... ok
test_vdo_pool_convert (__main__.TestDbusService) ... ok
test_vdo_pool_create (__main__.TestDbusService) ... ok
test_version (__main__.TestDbusService) ... ok
test_vg_activate_deactivate (__main__.TestDbusService) ... ok
test_vg_allocation_policy_set (__main__.TestDbusService) ... ok
test_vg_change (__main__.TestDbusService) ... ok
test_vg_create (__main__.TestDbusService) ... ok
test_vg_delete (__main__.TestDbusService) ... ok
test_vg_extend (__main__.TestDbusService) ... ok
test_vg_max_lv (__main__.TestDbusService) ... ok
test_vg_max_pv (__main__.TestDbusService) ... ok
test_vg_reduce (__main__.TestDbusService) ... ok
test_vg_rename (__main__.TestDbusService) ... ok
test_vg_rename_with_thin_pool (__main__.TestDbusService) ... ok
test_vg_tags (__main__.TestDbusService) ... ok
test_vg_uuid_gen (__main__.TestDbusService) ... ok
test_writecache_lv (__main__.TestDbusService) ... ok

----------------------------------------------------------------------
Ran 68 tests in 185.404s

OK (skipped=1)
Testing TMO=15

Successfully changed execution mode to "lvm shell (non-fork)"
test_cache_lv_create (__main__.TestDbusService) ... ok
test_cache_lv_rename (__main__.TestDbusService)
Make sure that if we rename a cache lv that we correctly handle the ... ok
test_cache_pool_create (__main__.TestDbusService) ... ok
test_external_lv_create (__main__.TestDbusService) ... ok
test_external_pv_create (__main__.TestDbusService) ... ok
test_external_vg_create (__main__.TestDbusService) ... ok
test_invalid_names (__main__.TestDbusService) ... ok
test_invalid_tags (__main__.TestDbusService) ... ok
test_job_handling (__main__.TestDbusService) ... ok
test_job_handling_timer (__main__.TestDbusService) ... ok
test_lookup_by_lvm_id (__main__.TestDbusService) ... ok
test_lv_activate_deactivate (__main__.TestDbusService) ... ok
test_lv_create (__main__.TestDbusService) ... ok
test_lv_create_job (__main__.TestDbusService) ... ok
test_lv_create_linear (__main__.TestDbusService) ... ok
test_lv_create_mirror (__main__.TestDbusService) ... ok
test_lv_create_pv_specific (__main__.TestDbusService) ... ok
test_lv_create_raid (__main__.TestDbusService) ... ok
test_lv_create_rounding (__main__.TestDbusService) ... ok
test_lv_create_striped (__main__.TestDbusService) ... ok
test_lv_create_thin_pool (__main__.TestDbusService) ... ok
test_lv_interface_cache_lv (__main__.TestDbusService) ... ok
test_lv_interface_plain_lv (__main__.TestDbusService) ... ok
test_lv_interface_thin_pool_lv (__main__.TestDbusService) ... ok
test_lv_interface_vdo_lv (__main__.TestDbusService) ... ok
test_lv_interface_vdo_pool_lv (__main__.TestDbusService) ... ok
test_lv_move (__main__.TestDbusService) ... ok
test_lv_on_thin_pool_rename (__main__.TestDbusService) ... ok
test_lv_remove (__main__.TestDbusService) ... ok
test_lv_rename (__main__.TestDbusService) ... ok
test_lv_resize (__main__.TestDbusService) ... ok
test_lv_resize_same (__main__.TestDbusService) ... ok
test_lv_snapshot (__main__.TestDbusService) ... ok
test_lv_tags (__main__.TestDbusService) ... ok
test_lv_thinpool_rename (__main__.TestDbusService) ... ok
test_meta_lv_data_lv_props (__main__.TestDbusService) ... ok
test_move (__main__.TestDbusService) ... ok
test_nesting (__main__.TestDbusService) ... ok
test_prop_get (__main__.TestDbusService) ... ok
test_pv_allocation (__main__.TestDbusService) ... ok
test_pv_remove_add (__main__.TestDbusService) ... ok
test_pv_resize (__main__.TestDbusService) ... ok
test_pv_scan (__main__.TestDbusService) ... skipped 'skipping pv scan test due to known issue'
test_pv_symlinks (__main__.TestDbusService) ... ok
test_pv_tags (__main__.TestDbusService) ... ok
test_refresh (__main__.TestDbusService) ... ok
test_snapshot_merge (__main__.TestDbusService) ... ok
test_snapshot_merge_thin (__main__.TestDbusService) ... ok
test_tag_names (__main__.TestDbusService) ... ok
test_tag_regression (__main__.TestDbusService) ... ok
test_vdo_pool_compression_deduplication (__main__.TestDbusService) ... ok
test_vdo_pool_convert (__main__.TestDbusService) ... ok
test_vdo_pool_create (__main__.TestDbusService) ... ok
test_version (__main__.TestDbusService) ... ok
test_vg_activate_deactivate (__main__.TestDbusService) ... ok
test_vg_allocation_policy_set (__main__.TestDbusService) ... ok
test_vg_change (__main__.TestDbusService) ... ok
test_vg_create (__main__.TestDbusService) ... ok
test_vg_delete (__main__.TestDbusService) ... ok
test_vg_extend (__main__.TestDbusService) ... ok
test_vg_max_lv (__main__.TestDbusService) ... ok
test_vg_max_pv (__main__.TestDbusService) ... ok
test_vg_reduce (__main__.TestDbusService) ... ok
test_vg_rename (__main__.TestDbusService) ... ok
test_vg_rename_with_thin_pool (__main__.TestDbusService) ... ok
test_vg_tags (__main__.TestDbusService) ... ok
test_vg_uuid_gen (__main__.TestDbusService) ... ok
test_writecache_lv (__main__.TestDbusService) ... ok

----------------------------------------------------------------------
Ran 68 tests in 186.173s

OK (skipped=1)

Comment 21 Corey Marthaler 2022-08-04 20:58:57 UTC
Marking this Verified:Tested based on the comment #20.

Comment 25 errata-xmlrpc 2022-11-15 11:20:43 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 (lvm2 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-2022:8358