Bug 1433948

Summary: RFE: add validate-all action
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Jelinek <tojeline>
Component: fence-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: cluster-maint, mjuricek, oalbrigt
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fence-agents-4.0.11-56.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1447700 (view as bug list) Environment:
Last Closed: 2017-08-01 16:10:32 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:
Bug Depends On:    
Bug Blocks: 1200363, 1434936, 1553712, 1600566, 1668357, 2112271    
Attachments:
Description Flags
Tested and working patch none

Description Tomas Jelinek 2017-03-20 12:44:47 UTC
Upstream version of fence-agents supports the "validate-all" operation which checks if the agent configuration is acceptable or not. Pcs depends on it to validate fence-agents configuration, but the operation is not available on RHEL7.3.

# rpm -q fence-agents-all
fence-agents-all-4.0.11-47.el7.x86_64

Comment 1 Oyvind Albrigtsen 2017-03-21 13:09:53 UTC
Created attachment 1265065 [details]
Tested and working patch

Additional patch to return failed return code when validate-all fails: https://github.com/ClusterLabs/fence-agents/pull/115

Comment 4 errata-xmlrpc 2017-08-01 16:10:32 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://access.redhat.com/errata/RHBA-2017:1874