diff options
| author | Bogdan Dobrelya <bdobrelia@mirantis.com> | 2016-02-04 12:34:39 +0100 |
|---|---|---|
| committer | Bogdan Dobrelya <bdobrelia@mirantis.com> | 2016-02-04 12:34:39 +0100 |
| commit | 4b08c2875809b05fd5fc8cf2e3c22684a1a6c548 (patch) | |
| tree | ff272540ec0702f31899452eda0c9d8635c4ac7a /scripts/rabbitmq-env.bat | |
| parent | f9adbe0beb355f40194c7cc6b548b6c1f40228c5 (diff) | |
| download | rabbitmq-server-git-4b08c2875809b05fd5fc8cf2e3c22684a1a6c548.tar.gz | |
Fix action_stop for the rabbit OCF
The action_stop may sometimes stop the rabbitmq-server gracefully
by the PID, but leave unresponsive beam.smp processes running and
spoiling rabbits. Those shall be stopped as well. The solution is:
- make proc_stop() to accept a pid=none to use a name matching instead
- make kill_rmq_and_remove_pid() to stop by the beam process matching as well
- fix stop_server_process() to ensure there is no beam process left running
Related Fuel bug: https://launchpad.net/bugs/1541029
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Diffstat (limited to 'scripts/rabbitmq-env.bat')
0 files changed, 0 insertions, 0 deletions
