[ClusterLabs] state file not created for Stateful resource agent
ashutosh tiwari
ashutosh.kvas at gmail.com
Sat Mar 17 06:05:24 EDT 2018
Hi,
We have two node active/standby cluster with a dummy Stateful resource
(pacemaker/Stateful).
We observed that in case one node is up with master resource and other node
is booted up, state file for dummy resource is not created on the node
coming up.
*/cib/status/node_state[@id='2']/transient_attributes[@id='2']/instance_attributes[@id='status-2']:
<nvpair id="status-2-master-unicloud" name="master-unicloud" value="5"/>*
*Mar 17 12:22:29 [24875] tigana lrmd: notice: operation_finished:
unicloud_start_0:25729:stderr [ /usr/lib/ocf/resource.d/pw/uc: line
94: /var/run/uc/role: No such file or directory ]*
This issue is not observed in case secondary do not wait for cib sync and
starts the resource on secondary as well.
We are in process of upgrading from centos6 to centos7, We never observed
this issue with centos6 releases.
Attributes for clone resource: master-max=1 master-node-max=1 clone-max=2
clone-node-max=1
setup under observation is:
CentOS Linux release 7.4.1708 (Core)
corosync-2.4.0-9.el7.x86_64
pacemaker-1.1.16-12.el7.x86_64.
Thanks and Regards,
Ashutosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20180317/09d2c6dc/attachment-0001.html>
More information about the Users
mailing list