Description of problem:
There is no way to cleanup a failed resource with pcs
Version-Release number of selected component (if applicable):
A 'pcs resource cleanup <resource>' command should be added which does the equivalend of 'crm_resource -C -r <resource>'
Fixed upstream with commit id de483c4c29f64c262d1ff2ea75f5b7c745c3e995
Fixed in pcs-0.9.59-1.el6:
[root@ask-02 rpmbuild]# rpm -q pcs
[root@ask-02 rpmbuild]# pcs resource cleanup -h
Usage: pcs resource cleanup...
cleanup <resource id>
Cleans up the resource in the lrmd (useful to reset the resource
status and failcount)
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.