Bug 459127 - fenced config option to skip nodes with undefined fencing
Summary: fenced config option to skip nodes with undefined fencing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cman
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: David Teigland
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 459160
TreeView+ depends on / blocked
 
Reported: 2008-08-14 15:58 UTC by David Teigland
Modified: 2009-04-16 22:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 21:52:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed patch (2.88 KB, text/plain)
2008-08-14 16:48 UTC, David Teigland
no flags Details
proposed patch (3.90 KB, text/plain)
2008-08-14 18:02 UTC, David Teigland
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0189 0 normal SHIPPED_LIVE cman bug-fix and enhancement update 2009-01-20 16:05:55 UTC

Description David Teigland 2008-08-14 15:58:02 UTC
Description of problem:

New fenced config option <fence_daemon skip_undefined="1"/>
would cause fenced to not attempt any fencing on nodes with
undefined fence/method/device.  Currently, fenced tries,
fails, and retries (repeatedly) to fence a node with undefined
fence/method/device, which requires an override.

The primary use for this option would be asymmetric cluster configs
(http://sources.redhat.com/cluster/wiki/asymmetric_cluster_config)
where client/small/spectator nodes do not join the fence domain
and have no fencing configured.  The problem we have is that even with
no fencing configured, and not joining the fence domain, other
nodes may attempt (and fail) to fence these client nodes during
startup fencing.

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-08-14 16:02:23 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 David Teigland 2008-08-14 16:48:14 UTC
Created attachment 314331 [details]
proposed patch

very simple patch (untested)

Comment 3 David Teigland 2008-08-14 17:00:00 UTC
patch in comment 2 left out a couple of key bits, ignore it

Comment 4 David Teigland 2008-08-14 17:14:50 UTC
I think I'd like to limit the scope of skip_undefined to skip
just startup fencing of nodes with no defined methods (as shown
in the initial patch in comment 2).  The original description of
skip_undefined was more general and also applied to domain members
that failed, which is something we don't have need for.

Comment 5 David Teigland 2008-08-14 18:02:21 UTC
Created attachment 314338 [details]
proposed patch

Adds a couple missing bits from previous patch.
Nodes with no methods are skipped in startup fencing only.

Comment 6 David Teigland 2008-08-20 20:32:05 UTC
pushed to RHEL5 and STABLE2

Comment 9 errata-xmlrpc 2009-01-20 21:52:16 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


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