Comment 0 for bug 1396946

Revision history for this message
Bogdan Dobrelya (bogdando) wrote : Rabbitmq OCF script requires additional criterias to be met for Master=running status

The build of http://jenkins-product.srt.mirantis.net:8080/view/6.0/job/6.0.ubuntu.promo_bvt/71/ shows there is a missing criteria in OCF script for Master readiness. According to the logs, we have the situation then OCF reported to Pacemaker the Master is running, but in reality, rabbitmqctl list_users returns an error for a while and cluster is not ready.

In order to fix it, we must additionally check if rabbitmqctl list_users does not return an error and only then report the Master of multistate clone as running.