Ensure upgrade step orchestration accross roles.
authorSofer Athlan-Guyot <sathlang@redhat.com>
Mon, 3 Apr 2017 16:28:21 +0000 (18:28 +0200)
committerAthlan-Guyot sofer <sathlang@redhat.com>
Thu, 6 Apr 2017 08:28:54 +0000 (08:28 +0000)
commit11389e5ac3c328fac7f4387e44aa12671d717f0e
tree11ac5c2479a6caf5e76a8b926da584e18ff0db60
parent011d000c05bee0a01c536521e21fdc3267941858
Ensure upgrade step orchestration accross roles.

Currently we don't enforce step ordering across role, only within
role.  With custom role, we can reach a step5 on one role while the
cluster is still at step3, breaking the contract announced in the
README[1] where each step has a guarantied cluster state.

We have to remove the conditional here as well as jinja has no way to
access this information, but we need jinja to iterate over all enabled
role to create the orchestration.

This deals only with Upgrade tasks, there is another review to deal
with UpgradeBatch tasks.

[1] https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/README.rst

Closes-Bug: #1679486

Change-Id: Ibc6b64424cde56419fe82f984d3cc3620f7eb028
(cherry picked from commit d286892c785b8b81a866ea3c6a459d1fc4a347e8)
puppet/major_upgrade_steps.j2.yaml