Comment 11 for bug 1425579

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

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

commit 7c210ee68db112bbd16066a54bfdf462a8bbedbd
Author: Alex Schultz <email address hidden>
Date: Fri Sep 25 14:31:11 2015 -0500

    Update OCF stop actions to use procfs

    This change adds a set of fuel functions that can be used to stop
    processes using a pid file or a pid. These functions allow for the same
    method of stopping processes to be used by all ocf scripts. The process
    stopping logic leverages procfs to check to make sure the process has
    been stopped.

    This change adds a default retry of 5 times with a 2 second sleep
    between sending SIGTERM signals to the processes. This retry count is
    dynamic based on the timeout for the stopping command. If the SIGTERM
    does not work, a SIGKILL will also be tried one time.

    This change does not include the ocf script for rabbitmq as that is the
    upstream version and won't be leveraging the ocf-fuel-funcs library.

    This change does not include the ocf script for mysql as that needs
    further work.

    Change-Id: I8dcc1c37d17068a9c29480b886d4f1a051f28894
    Partial-Bug: 1425579