HomeClusterLabs Projects

fence_scsi: Automatically detect devices for shared VGs

Description

fence_scsi: Automatically detect devices for shared VGs

Currently, if no devices option is given, fence_scsi automatically
builds a device list containing all LVM PVs that back VGs with the
clustered ('c') bit set. With this commit, fence_scsi will also consider
VGs with the shared ('s') bit set.

Additionally, the existing check is too broad. We should consider a
volume group to be clustered or shared only if the 6th bit is set to 'c'
or 's'. This way, we can avoid false positives.

Closes RHBZ#2187327
Closes RHBZ#2187329

Details

Provenance
arslan9292Authored on Apr 17 2023, 6:29 AM
Parents
rF1310607e70fb: Merge pull request #536 from oalbrigt/fence_aws-set_power_status-fail-on-error
Branches
Unknown
Tags
Unknown

Event Timeline

Arslan Ahmad <arslan.ahmad97@googlemail.com> committed rF4661b6f625c5: fence_scsi: Automatically detect devices for shared VGs (authored by Arslan Ahmad <arslan.ahmad97@googlemail.com>).Apr 20 2023, 3:04 AM