HomeClusterLabs Projects

Fix: libpe_status: find active instances properly according to requires

Description

Fix: libpe_status: find active instances properly according to requires

If a resource has "requires" set to "nothing" or "quorum", that means we can
properly start it elsewhere, even if the node believed to be initially running
the resource is unclean and waiting to be fenced.

Previously, if we did start the resource elsewhere before fencing completed,
the cluster would then consider the resource multiply active, and recover it.
Now, we don't consider such a resource multiply active if it's active on
only one clean node.

Status displays still show the resource as started on the unclean node, to give
the administrator a better idea of the actual situation. However, the clean
node will be considered the "current" node.

Details

Provenance
kgaillotAuthored on May 21 2018, 10:36 AM
Parents
rPff621047c6bb: Refactor: libpe_status: new functions for finding resource's active nodes
Branches
Unknown
Tags
Unknown

Event Timeline