tripleo-heat-templates/deployment/database
Jose Luis Franco Arza 238d751b6a Check transfer data flag to skip pacemaker normal upgrade.
When the operating system upgrade is performed a
transfer data step must be executed (to allow the
db import once the operating system upgrades). During
this step the pacemaker cluster is stopped, so we can
create a new cluster with the newly OS upgraded node.
Therefore, as the pacemaker cluster is down we need
to skip some of the tasks which would be executed
during a normal upgrade (check pcs status, stop pcs and
start pcs) from the upgrade_tasks.

This patch removes the use of UpgradeLeappEnabled heat
parameter to identify this and uses the existence of
the flag file created during the transfer_data to skip
the normal pacemaker upgrade tasks by setting a new
fact, cluster_recreate, if this file exists.

Change-Id: Iba85e99f59258ce6ef4e05ccae737b9eeb6cfc57
(cherry picked from commit 5845c0a72a)
2020-06-04 14:25:14 +02:00
..
mysql-base.yaml Support for mariadb's ed25519 authentication 2020-04-18 09:36:10 +00:00
mysql-client.yaml flatten database service MySQL Client 2019-01-30 09:38:32 -05:00
mysql-container-puppet.yaml Add mode option when creating persistent directories. 2020-05-15 20:41:12 +00:00
mysql-pacemaker-puppet.yaml Check transfer data flag to skip pacemaker normal upgrade. 2020-06-04 14:25:14 +02:00
redis-base-puppet.yaml Force redis::ulimit to be an integer 2019-11-27 23:16:15 +00:00
redis-container-puppet.yaml Add mode option when creating persistent directories. 2020-05-15 20:41:12 +00:00
redis-pacemaker-puppet.yaml Check transfer data flag to skip pacemaker normal upgrade. 2020-06-04 14:25:14 +02:00