There is an error in OCF logic causing the resource to be reported
as $OCF_NOT_RUNNING that leads to additional restarts for rabbitmq
resources in pacemaker.
The solution is to ensure that only the node which actually has
started and is joining the cluster may fail with this error code,
while the other nodes may not.
Reviewed: https:/ /review. openstack. org/169320 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=dd34e200da5 82afd996c276530 bb761ebd59dbb0
Committed: https:/
Submitter: Jenkins
Branch: master
commit dd34e200da582af d996c276530bb76 1ebd59dbb0
Author: Bogdan Dobrelya <email address hidden>
Date: Tue Mar 31 16:00:47 2015 +0200
Fix post-start notify exit code for rabbit OCF
There is an error in OCF logic causing the resource to be reported
as $OCF_NOT_RUNNING that leads to additional restarts for rabbitmq
resources in pacemaker.
The solution is to ensure that only the node which actually has
started and is joining the cluster may fail with this error code,
while the other nodes may not.
Closes-bug: #1438699
Change-Id: I8d3b6e8f76a6a8 9608e59a52081c2 1931e5654fb
Signed-off-by: Bogdan Dobrelya <email address hidden>