Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-39444

vgimportdevices should skip locking in lvmlockd

    • lvm2-2.03.24-1.el9
    • None
    • None
    • sst_logical_storage
    • ssg_filesystems_storage_and_HA
    • 21
    • 24
    • 1
    • QE ack, Dev nak
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

       

      vgimportdevices <vgname> fails to import devices in the VG if the global lock is available (e.g. lvmlockd is not running, or the global lockspace is not started.)

       

      Fix

      commit a8b8e1f074598d080bfb34e1fd04fe36ec122f93
      Author: David Teigland <teigland@redhat.com>
      Date:   Thu May 30 14:51:22 2024 -0500    vgimportdevices: skip global lockd locking
          
          Fix commit b65a2c3f3a767 "vgimportdevices: skip lvmlockd locking"
          which intended to disable lvmlockd locking, but the lockd_gl_disable
          flag was mistakenly set after lock_global() so it wasn't effective.
          This caused vgimportdevices to fail unless locking was started.
      

      pushed to main branch

      https://gitlab.com/lvmteam/lvm2/-/commit/a8b8e1f074598d080bfb34e1fd04fe36ec122f93

      Please provide the package NVR for which bug is seen:

      How reproducible:

      Steps to reproduce

      1.  
      2.  
      3.  

      Expected results

      Actual results

            lvm-team lvm-team
            teigland@redhat.com David Teigland
            lvm-team lvm-team
            Cluster QE Cluster QE
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: