HomeClusterLabs Projects

Fix: crm_resource: Display the locations of all anonymous clone children when…

Description

Fix: crm_resource: Display the locations of all anonymous clone children when supplying the children's common ID

For example, given an anonymous clone resource set:

Clone Set: clone1 [rsc1]

Started: [ node1 node2 ]

crm_resource --locate --resource rsc1 will output:

resource rsc1 is running on: node1
resource rsc1 is running on: node2

, instead of only:

resource rsc1 is running on: node1

This commit also fixes the counting of running resources.

Details

Provenance
gao-yanAuthored on Mar 26 2015, 10:48 AM
Parents
rP3e93bc1dd6c1: Merge branch 'master' of github.com:ClusterLabs/pacemaker
Branches
Unknown
Tags
Unknown

Event Timeline