Comment 5 for bug 1942309

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/807761
Committed: https://opendev.org/openstack/tripleo-ansible/commit/39429a65166d5e8f7ca26102a90cef7236fe031c
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 39429a65166d5e8f7ca26102a90cef7236fe031c
Author: Damien Ciabrini <email address hidden>
Date: Mon Aug 30 17:17:05 2021 +0200

    Check whether an HA resource already exists explicitly

    With ephemeral heat we lost the meaning of the 'stack_action' hiera key
    which we previously used to distinguish between fresh deployment and
    pre-existing deployment (aka redeploy).
    Since this hiera key is not available anymore, we simply check if the
    resource existed before running puppet. If it did not, we're part of
    an initial deployment, if it did exist then this is a redeploy and
    in such case, if the config changed we will restart the service on
    the bootstrap node.

    We also cleanup the molecule steps as there are some redundancies there.

    Testing protocol is in the parent change.

    Related-Bug: #1942309

    Change-Id: I08cff959d7d104ad0e8d833ed6ce06df8ff38b16
    (cherry picked from commit b8d9370997ee6f910d401399f72f97272d639c73)