Comment 18 for bug 1541029

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

Reviewed: https://review.openstack.org/276154
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=7fa3440ad3b03c0b6242fc6f892f3a0105a0c85b
Submitter: Jenkins
Branch: master

commit 7fa3440ad3b03c0b6242fc6f892f3a0105a0c85b
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>