Description of problem:
There is no way check or reset the fail-count of a resource on a specific node with pcs.
Version-Release number of selected component (if applicable):
A 'pcs resource failcount show <resource> <clusternode>' command should be added which does the equivalend of 'crm_failcount -N <clusternode> -r <resource> -G'
A 'pcs resource failcount reset <resource> <clusternode>' command should be added which does the equivalend of 'crm_failcount -N <clusternode> -r <resource> -D'
One benefit in the upstream code is that you are not required to specify a node (if a node isn't specified it resets/shows the failcounts on all nodes in the cluster).
[root@ask-02 ~]# pcs resource fail -h
Usage: pcs resource fail...
failcount show <resource id> [node]
Show current failcount for specified resource from all nodes or
only on specified node
failcount reset <resource id> [node]
Reset failcount for specified resource on all nodes or only on
[root@ask-02 ~]# rpm -q pcs
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.