Hide Forgot
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): pcs-0.9.26-11.el6.noarch 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'
Added upstream https://github.com/feist/pcs/commit/89ae2f0275c641d699e6b79f576cfc96bb3c0e70
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 specified node [root@ask-02 ~]# rpm -q pcs pcs-0.9.64-1.el6.noarch
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. http://rhn.redhat.com/errata/RHBA-2013-1633.html