Comment 5 for bug 1864810

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

Reviewed: https://review.opendev.org/708385
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=1efe0fe333ff869ea0a04ff87a11ff27a251560b
Submitter: Zuul
Branch: master

commit 1efe0fe333ff869ea0a04ff87a11ff27a251560b
Author: Christian Berendt <email address hidden>
Date: Tue Feb 18 13:02:28 2020 +0100

    Avoid multiple haproxy restarts after reconfiguration

    The haproxy role and the site.yml file calls the
    haproxy-config role to provide configuration for individual
    services.

    If the configuration within a service changes, the haproxy
    container is restarted.

    If the configuration in n services changes, there will be n
    restarts. This is not necessary, a restart at the end is
    sufficient.

    By removing the handler from the haproxy-config role and
    using the listen parameter in the handler of the haproxy role,
    the handler is executed only once.

    Change-Id: I535fe67579fb748093bb4b30a6bd31b81e021a1b
    Closes-Bug: #1864810