summaryrefslogtreecommitdiff
path: root/scripts/rabbitmq-server
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobrelia@mirantis.com>2015-12-30 17:25:33 +0100
committerBogdan Dobrelya <bdobrelia@mirantis.com>2015-12-31 10:46:44 +0100
commit923ca2379902b4ddcdabb7fd1484aeb6750a576f (patch)
tree0ed75ee4b14d64d6ba4aeeeeb2e5d9ff488dc5a9 /scripts/rabbitmq-server
parent852176c5c59f3eac402c4fb76597fe5107618315 (diff)
downloadrabbitmq-server-git-923ca2379902b4ddcdabb7fd1484aeb6750a576f.tar.gz
Ensure rabbit node uptime is reset in the CIB for OCF resource
* Add ocf_run wrappers and info log messages for CIB attribute events * Move "fast" CIB attribute updates before "heavy" operations like start/stop/wait to ensure CIB consistent even if the timeouts exceeded for the ops * Delete master and start time attributes from CIB on action_start to ensure the correct rabbit nodes uptime evaluation for new master elections for corresponding pacemaker resources * For post-demote notify and action_demote() delete the master attribute from CIB as well. * For post-start notify, update the start time in the CIB even when the node is already clustered. Otherwise it would remain running in cluster w/o the start time registered, which affects the new master elections badly. * fix wrong log message when joining by a node Related Fuel bug https://bugs.launchpad.net/fuel/+bug/1530150 https://bugs.launchpad.net/fuel/+bug/1530296 Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Diffstat (limited to 'scripts/rabbitmq-server')
0 files changed, 0 insertions, 0 deletions