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

vgchange exit with 0 even if lvmlockd is not running and no change is done

    • lvm2-2.03.27-1.el9
    • None
    • Moderate
    • e4de69a5b27914aa06ecbb9ee41a97061be61f75
    • sst_logical_storage
    • ssg_filesystems_storage_and_HA
    • 7
    • 12
    • 3
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Pass
    • None
    • All
    • None

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

      When lvmlockd is not running and config use_lvmlockd = 1 is used the vgchange command 

      fails to do the change but exit code is 0.

      Please provide the package NVR for which bug is seen:

      lvm2-2.03.14-13.el8_9.x86_64

      How reproducible:

      Every time

      Steps to reproduce

       

       # vgcreate test /dev/sdc
       # vgchange vvvv --config 'global \{ use_lvmlockd = 1}'  --systemid $(uname -n) test &> vgchange_-vvvv.txt; echo $?
      
      

       

      Expected results

      returns error code (5)

      Actual results

      returns success 

            mcsontos@redhat.com Marian Csontos
            rhn-support-lherbolt Lukas Herbolt
            David Teigland David Teigland
            Cluster QE Cluster QE
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: