Bug 2187329

Summary: fence_scsi: fix auto-detection of devices for shared VG (RHEL8)
Product: Red Hat Enterprise Linux 8 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: fence-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: VERIFIED --- QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact: Steven J. Levine <slevine>
Priority: unspecified    
Version: 8.8CC: arahmad, cluster-maint, mjuricek, slevine
Target Milestone: rcKeywords: Triaged
Target Release: 8.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.2.1-115.el8 Doc Type: Bug Fix
Doc Text:
.The `fence_scsi` agent is now able to auto-detect shared `lvmlockd` devices Previously, the `fence_scsi` agent did not auto-detect shared `lvmlockd` devices. With this update, `fence_scsi` is able to auto-detect `lvmlockd` devices when the 'devices' attribute is not set.
Story Points: ---
Clone Of: 2187327 Environment:
Last Closed: 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:
Bug Depends On: 2187327    
Bug Blocks:    

Description Oyvind Albrigtsen 2023-04-17 13:00:48 UTC
+++ This bug was initially created as a clone of Bug #2187327 +++

Description of problem:
Make fence_scsi able to auto-detect shared lvmlockd devices with "s" flag, like it did for clvm's "c" flag.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Create fence_scsi device without specifying device(s)
2.
3.

Actual results:
Fails.

Expected results:
Detects devices from shared VG.

Additional info:
https://github.com/ClusterLabs/fence-agents/pull/537

Comment 4 Oyvind Albrigtsen 2023-05-04 08:26:47 UTC
Additional patch to add clvm/lvmlockd support info to metadata, and allow using space-separated devices as well:
https://github.com/ClusterLabs/fence-agents/pull/543