Bug 455598

Summary: FENCE_JOIN option for cman init script
Product: Red Hat Enterprise Linux 5 Reporter: David Teigland <teigland>
Component: cmanAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 5.2CC: cluster-maint, edamato, fdinitto, teigland
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:52:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
proposed fix none

Description David Teigland 2008-07-16 14:46:43 UTC
Description of problem:

cman init script should skip the fence_tool join step
if FENCE_NO_JOIN is set in /etc/sysconfig/cman.  This will
be used with spectator mounts.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2008-07-16 14:53:50 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
release.

Comment 2 Fabio Massimo Di Nitto 2008-07-28 04:47:03 UTC
Created attachment 312750 [details]
proposed fix

Hi David,

this is a proposed patch to address the problem. If FENCE_NO_JOIN is set, we
skip both invokation of fence_tool join and fence_tool leave.

Similar patch (modulo offset) applies to virtually all branches.

Fabio

Comment 3 Ryan O'Hara 2008-07-28 15:59:08 UTC
Fixed.

Added variable to FENCE_JOIN to control whether or not the script attempts to
join the fence domain. If FENCE_JOIN is set to "no", the script will not attempt
to join/leave the fence domain for start/stop respectively. If FENCE_JOIN is set
to any other value, the init script will follow the default behavior, which is
to join/leave the fence domain.

Note that this effects fence_xvmd, too. If FENCE_JOIN is set to "no", we also
skip the fence_xmvd step(s) in the init script.

Changed title of this BZ to reflect actual name of variable. Decided that
FENCE_JOIN with yes/no value is most agreeable format for doing this sort of
control.


Comment 6 errata-xmlrpc 2009-01-20 21:52:58 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 therefore 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.

http://rhn.redhat.com/errata/RHBA-2009-0189.html