ephemeral heat renders minor update code paths non functional
Bug #1942309 reported by
Michele Baldessari
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Michele Baldessari |
Bug Description
With ephemeral heat the stack status is always CREATE. Since we leverage that information in the pacemaker_
Changed in tripleo: | |
status: | Triaged → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ansible/ +/806610 /opendev. org/openstack/ tripleo- ansible/ commit/ b8d9370997ee6f9 10d401399f72f97 272d639c73
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b8d9370997ee6f9 10d401399f72f97 272d639c73
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: I08cff959d7d104 ad0e8d833ed6ce0 6df8ff38b16