tripleo-heat-templates/docker/services/pacemaker
Jiri Stransky 54fb81ecd9 Prevent service bootstrap node facts from colliding with each other
Many services currently set an `is_bootstrap_node` fact, meaning they
override each other's results when the fact is being set. As long as
the fact doesn't belong into a particular step but it's executed on
every step, nothing bad happens, as the correct is_bootstrap_node
setting directly precedes any service upgrade tasks. However, we
intend to put the fact setting into step 0 in change
Ib04b051e8f4275e06be0cafa81e2111c9cced9b7 and at that point the name
collision would break upgrades (only one service would "win" in
setting the is_bootstrap_node fact).

This patch changes the is_bootstrap_node facts in upgrade_tasks to use
per-service naming.

Note that fast_forward_upgrade_tasks use their own is_boostrap_node
logic. We've uncovered some weirdness there while looking into the
is_boostrap_node issue, but the fix is not a low hanging fruit and
likely we'll be completely redoing the FFU tasks for Q->T
upgrade. So the FFU tasks are left alone for now.

Change-Id: I9c585d3cb282b7e4eb0bacb3cf6909e04a9a495e
Closes-Bug: #1810408
2019-01-03 17:27:27 +01:00
..
database Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
cinder-backup.yaml Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
cinder-volume.yaml Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
clustercheck.yaml upgrade: remove Docker containers now managed by Podman 2018-11-27 00:20:31 +00:00
haproxy.yaml Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
manila-share.yaml Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
notify-rabbitmq.yaml Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
ovn-dbs.yaml Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
rabbitmq.yaml Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00
rpc-rabbitmq.yaml Prevent service bootstrap node facts from colliding with each other 2019-01-03 17:27:27 +01:00