Bug 1206232

Summary: fencing: Allow semi-colon delimiter for pcmk_host_list
Product: Red Hat Enterprise Linux 7 Reporter: John Ruemker <jruemker>
Component: pacemakerAssignee: Andrew Beekhof <abeekhof>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: cluster-maint, fdinitto, jherrman, jkortus, kgaillot, mjuricek
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pacemaker-1.1.13-3.el7 Doc Type: Bug Fix
Doc Text:
Previously, Pacemaker supported semicolon characters (";") as delimiters when parsing the pcmk_host_map string, but not when parsing the pcmk_host_list string. To ensure consistent user experience, semicolons are now supported as delimiters for parsing pcmk_host_list, as well.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 12:11:25 UTC 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:

Description John Ruemker 2015-03-26 15:32:13 UTC
Description of problem: Several users (including myself, a number of times) have experienced problems with pcmk_host_list due to its lack of support for semi-colon as a delimiter.  I think the confusion mostly comes from the fact that pcmk_host_map does allow it, so users that are familiar with that parameter may be inclined to use a semi-colon in both out of habit.  That's certainly what my problem was until I discovered it doesn't work, and we've had a few customers do the same thing.

We should add support for semi-colon when parsing pcmk_host_list to avoid unexpected failures to fence.  


Version-Release number of selected component (if applicable): pacemaker-1.1.12-22.el7


How reproducible: Always


Steps to Reproduce:
1. Create a stonith device with a semi-colon delimiter in pcmk_host_list="node1;node2"

2. Create a reason for a node to be fenced


Actual results:  Nodes don't see that device as being eligible to fence this node:

  Mar 26 09:50:26 rhel7-node1 stonith-ng[3392]: notice: can_fence_host_with_device: kdump can not fence (reboot) rhel7-node2.example.com: static-list


Expected results: Node is fenced


Additional info:

Comment 1 John Ruemker 2015-03-26 15:33:50 UTC
Upstream pull request at: 

  https://github.com/ClusterLabs/pacemaker/pull/671

Tested successfully.

Comment 2 Andrew Beekhof 2015-03-31 01:05:13 UTC
Patch merged

Comment 7 errata-xmlrpc 2015-11-19 12:11:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-2383.html