W/o this fix, rabbitMQ OCF may hang on the stop or start
as it ignores the stop/wait commands exit code. This is an
issue as it prevents rabbit node from joining the cluster.
The solution is to report generic failure, if corresponding
commands timed out:
* Fix stop_server_process() timeout command exit code check.
* Fix try_to_start_rmq_app() timeout command exit code check.
Reviewed: https:/ /review. openstack. org/175836 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=8338d59832f 87d5ae1b4bbf431 fd06807e258a44
Committed: https:/
Submitter: Jenkins
Branch: stable/5.1
commit 8338d59832f87d5 ae1b4bbf431fd06 807e258a44
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Apr 20 14:14:06 2015 +0200
Fix RabbitMQ OCF stop/start actions
W/o this fix, rabbitMQ OCF may hang on the stop or start
as it ignores the stop/wait commands exit code. This is an
issue as it prevents rabbit node from joining the cluster.
The solution is to report generic failure, if corresponding process( ) timeout command exit code check. start_rmq_ app() timeout command exit code check.
commands timed out:
* Fix stop_server_
* Fix try_to_
Closes-bug: #1446190
Change-Id: I8a0ccdde88cbb4 c8545427f5bd6bd ca6856a4687 4d59f42ec368523 39d709e7a4)
Signed-off-by: Bogdan Dobrelya <email address hidden>
(cherry picked from commit 1b553e823effcd1