fuel-library/files
Bogdan Dobrelya bde7c0d4a6 Fix rabbitMQ OCF monitor detection of running master
When monitor detected the node as OCF_RUNNING_MASTER, this may be
lost while the monitor checks in progress.
* Rework the prev_rc by the rc_check to fix this.
* Also add info log if detected as running master.
* Break the monitor check loop early, if it shall be exiting to be
  restarted by pacemaker.
* Do not recheck the master status and do not update the master score,
  if the node was already detected by monitor as OCF_RUNNING_MASTER.
  By that point, the running and healthy master shall not be checked
  against other nodes uptime as it is pointless and only takes more
  time and resources for the action monitor to finish.
* Fail early, if monitor detected the node as OCF_RUNNING_MASTER, but
  the rabbit beam process is not running
* For OCF_CHECK_LEVEL>20, exclude the current node from the check
  loop as we already checked it before

Closes-bug: #1531838

Change-Id: I319db307c73ef24d829be44eeb63d1f52f4180fa
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-01-14 10:00:57 +01:00
..
fuel-docker-utils Pass fuel-bootstrap-cli config to containers 2015-12-25 17:51:07 +02:00
fuel-ha-utils Fix rabbitMQ OCF monitor detection of running master 2016-01-14 10:00:57 +01:00
fuel-migrate Fix allows fuel-migrate script work under centos-7. 2015-12-22 12:44:09 +02:00
fuel-misc Store and reuse generated VM config 2015-10-08 11:15:26 +02:00
fuel-notify Move free disk space checker to package 2015-05-16 13:53:54 +03:00
fuel-umm Use absolute path to runlevel binary in umm 2015-12-22 22:52:15 +02:00
rabbit-fence Ensure the rabbit-fence daemon started and respawned 2015-05-23 00:09:33 +00:00