HomeClusterLabs Projects

Fix: crmd: clear failure only for requested node

Description

Fix: crmd: clear failure only for requested node

The PE schedules CRM_OP_CLEAR_FAILCOUNT operations to clear a particular resource on a
particular node. When the operation was introduced in a2b997cf, the crmd never checked
the node, but always cleared fail-count and last-failure for all nodes.

Commit 42316ba7 attempted to use the node name, but checked the wrong XML parent
for the information. This commit corrects that.

Details

Provenance
kgaillotAuthored on Feb 22 2017, 5:58 PM
Parents
rPc339a4ce3a58: Log: crmd: improve message when clearing failures
Branches
Unknown
Tags
Unknown

Event Timeline