Comment 12 for bug 1528889

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

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

commit d961691e5fa7ba49305e35a4c17de09b2dae2eb6
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Dec 28 18:06:38 2015 +0100

    Fix the proc_kill ocf helper func

    W/o this fix, the command "proc_kill pid name count" will misplace
    the passed count of tries as the signal name for the pkill, which
    is wrong and might be unpredictably harmful for the proces group
    containing the given pid.

    The fix is to correctly specify params for the proc_kill calls.
    Add bats tests for the proc_kill as well.

    Closes-bug: #1528889

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