Bug 373541 - Use locking_type = 0 for LVM queries in fence_scsi, scsi_reserve
Summary: Use locking_type = 0 for LVM queries in fence_scsi, scsi_reserve
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cman
Version: 5.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Ryan O'Hara
QA Contact: Cluster QE
: 447465 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2007-11-09 19:34 UTC by Ryan O'Hara
Modified: 2018-10-27 12:58 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2008-05-21 15:58:23 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0347 normal SHIPPED_LIVE cman bug fix and enhancement update 2008-05-20 12:39:41 UTC

Description Ryan O'Hara 2007-11-09 19:34:31 UTC
Need to use "locking_type = 0" for lvm queries in both fence_scsi and
scsi_reserve scripts. This will override locking_type such that we can retrieve
list of devices in clvm volumes at fence time. Also results it ability to remove
state file, whcih currently keeps track of devices that node is known to be
registered with. This greatly simplifies the SCSI reservation scrips and solves
problem with startup fencing.

Comment 2 RHEL Product and Program Management 2008-01-07 20:45:13 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update

Comment 3 Ryan O'Hara 2008-01-18 23:20:28 UTC
Fixed. This not only allows us to query clvmd for cluster volumes (and the
devices that makeup those volumes) at fence time, but also removes the need to
keep a state file on each and every node in the cluster. Previously, we had to
keep a state file which recorded all devices the node had registered with so
that we could determine which devices to unregister with at fence time. There
were many problems/limitations associated with this state file technique.

Instead, the scripts now use the "--config 'global {locking_type = 0}'" option
with all lvm commands. This fix required change to all three scripts related to
SCSI reservations: scsi_reserve, fence_scsi, and fence_scsi_test.

Comment 6 Ryan O'Hara 2008-05-20 16:11:05 UTC
*** Bug 447465 has been marked as a duplicate of this bug. ***

Comment 7 errata-xmlrpc 2008-05-21 15:58:23 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.