[ClusterLabs] Inconsistent clone $OCF_RESOURCE_INSTANCE value depending on symmetric-cluster property.

2019-04-27 Thread Andrei Borzenkov
Documentation says for clone resources OCF_RESOURCE_INSTANCE contains primitive qualified by instance number, like primitive:1. I was rather surprised that pacemaker may actually omit qualification at least in the following case: 1. *start* pacemaker with symmetric-cluster=false 2. do not add con

Re: [ClusterLabs] Inconsistent clone $OCF_RESOURCE_INSTANCE value depending on symmetric-cluster property.

2019-04-29 Thread Ken Gaillot
On Sat, 2019-04-27 at 10:27 +0300, Andrei Borzenkov wrote: > Documentation says for clone resources OCF_RESOURCE_INSTANCE contains > primitive qualified by instance number, like primitive:1. That is pacemaker's practice (inherited from heartbeat). The OCF standard itself says the variable contain