Comment 23 for bug 1889395

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/746957
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=fffbdc0df115ed7f442620e4fff22fcacd595e70
Submitter: Zuul
Branch: stable/train

commit fffbdc0df115ed7f442620e4fff22fcacd595e70
Author: Damien Ciabrini <email address hidden>
Date: Mon Aug 3 18:59:44 2020 +0200

    Fix HA resource restart when no replicas are running

    When the helper script pacemaker_restart_bundle.sh is called
    during a stack update, it restarts the pacemaker resource via
    a "pcs resource restart <name>".

    When all the replicas are stopped due to a previous error,
    pcs won't restart them because there is nothing to stop. In
    that case, one must use "pcs resource cleanup <name>".

    (cherry picked from commit ba471ee461b125e2aa53c485ab61dc467bf7d858)

    Closes-Bug: #1889395
    Change-Id: I1790444d289d057e9a3f612c53efe485080978b5