Comment 9 for bug 1425579

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

Reviewed: https://review.openstack.org/216046
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=3093aa28509bac8005ab50e3f3126a4f35629126
Submitter: Jenkins
Branch: master

commit 3093aa28509bac8005ab50e3f3126a4f35629126
Author: Vladimir Kuklin <email address hidden>
Date: Sun Aug 23 14:12:13 2015 -0500

    Revert haproxy restart primitive back to reload

    This commit switches back haproxy configuration reload
    to use reload command of OCF script. Otherwise, for Ubuntu
    since kernel 3.9 haproxy due to some race condition in
    OCF script may start two times with different configs
    as it uses REUSEPORT socket option. By using reload
    we ensure that there is always one process on the listening
    socket which has the latest config.

    This fix is may be partial as we may also require additional work
    on OCF script to introduce additional checks on pids and pidfiles.
    It can also be tracked as a partial duplicate of the bug related
    to better handling of processes manipulations in OCF scripts.

    Change-Id: Iadad82d1733a3c22c470e1ddb761900304ee9753
    Partial-bug: #1487900
    Related-bug: #1425579
    Related-bug: #1401850