Comment 9 for bug 1844456

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

Reviewed: https://review.opendev.org/687289
Committed: https://git.openstack.org/cgit/starlingx/config-files/commit/?id=66d88788a8bc85e8b627ae44f8c5aca85e45d473
Submitter: Zuul
Branch: master

commit 66d88788a8bc85e8b627ae44f8c5aca85e45d473
Author: Tao Liu <email address hidden>
Date: Mon Oct 7 22:15:26 2019 -0400

    Fix the lighttpd process recovery failure

    When the lighttpd starts without creating a pid file, SM will restart
    the process after the audit detects the failure. The init script
    then kills the current running process and starts a new one.

    The kill method was using the default port 80, as a result the
    process that was running without a pid file was not killed. Therefore,
    ‘Service group web-services degraded’ alarm was never cleared due
    to recovery failure.

    This update changes the kill method to kill the process that running
    on the configured lighttpd port.

    Change-Id: Id6cae43e315d0def771b9f1422fc7753d57e6710
    Closes-Bug: 1844456
    Signed-off-by: Tao Liu <email address hidden>