Comment 20 for bug 1436812

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/185397
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=152303c7e741861bbcfd3c3165be3d27107d6b38
Submitter: Jenkins
Branch: master

commit 152303c7e741861bbcfd3c3165be3d27107d6b38
Author: Bogdan Dobrelya <email address hidden>
Date: Mon May 25 15:57:39 2015 +0200

    Add rabbit OCF functions to get pacemaker node names

    W/o this fix, the failover time was longer than expected
    as rabbit nodes was able to query corosync nodes left the
    cluster and also try to join them by rabbit cluster ending
    up being reset and rejoin alive nodes later.
    1) Add functions:
      a) to get all alive nodes in the partition
      b) to get all nodes
    This fixes get_monitor behaviour so that it ignores
    attributes for dead nodes as crm_node behaviour
    changed with upgrade of pacemaker. So rabbit nodes will
    never try to join the dead ones.

    2) Fix bash scopes for local variables
    Minor change removing unexcpeted behavior when local variable
    impacts global scope.

    Related-bug: #1436812

    Change-Id: I89b716b4cd007572bb6832365d4424669921f057
    Signed-off-by: Bogdan Dobrelya <email address hidden>