ClusterLabs / fence-agents

Fence agents
104 stars 160 forks source link

fence_scsi: Fixes for auto-detecting devices for shared VG #537

Closed arslan9292 closed 1 year ago

arslan9292 commented 1 year ago

In the earlier version, the shared devices can be auto-populated using the 'c' flag in 'vgs' command output when shared VG is configured with clvm. With the release of lvmlockd, the shared VGs has 's' flag under 'Attr' section.

So as to make the auto-detection feature working for lvmlockd, this update will allow the fence/unfence operation succeed even when the 'devices' attribute is left blank or undefined.

knet-ci-bot commented 1 year ago

Can one of the admins verify this patch?

oalbrigt commented 1 year ago

ok to test

nrwahl2 commented 1 year ago

The following aren't necessary for this PR. They're just things that I noticed.

oalbrigt commented 1 year ago

Thanks.