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/175838 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=6d63386abe0 2d19c8f0fc75ac2 219d30581249cf
Committed: https:/
Submitter: Jenkins
Branch: stable/6.0
commit 6d63386abe02d19 c8f0fc75ac2219d 30581249cf
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