Comment 19 for bug 1541029

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/8.0)

Reviewed: https://review.openstack.org/276201
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=d3b77ffa1581145015726255c956d937c2b273e2
Submitter: Jenkins
Branch: stable/8.0

commit d3b77ffa1581145015726255c956d937c2b273e2
Author: Bogdan Dobrelya <email address hidden>
Date: Thu Feb 4 11:57:28 2016 +0100

    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

    Closes-bug: #1541029

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