tripleo-quickstart-extras/playbooks
Sofer Athlan-Guyot 33cf682ebb Add support to mixed upgrade for overcloud-prep-container role.
During mixed version upgrade, we want to deploy the overcloud with the
N-1 release docker images and then switch to the N release images
file.

That review[1] added the N-1 necessary tags.  That review[2] was an
attempt to use the proper parameters in that role for deployment in the
context of mixed version.  This fails.

The failure comes from the fact that we load the release file using
"-e ". All those variables then have the highest precedence[3]
possible and cannot be overridden.

Furthermore we use `use_overcloud_mixed_upgrade` flag to prevent the
yum upgrade to run inside container during initial overcloud
deployment.  The problem here is that the repo configuration is taken
from the undercloud which is N.  Thus the N-1 images are upgraded to
N.  That means that we can't gate "from" patches.  In a p->q setup, a
change in pike cannot be tested if it relates to the docker image.

Eventually we need a way to run the container role even when the
containerized_overcloud is false.  For Fast Forward Upgrade, the
starting point is Newton which doesn't use container.  So we introduce
`prep_container_upgrade_run` flag that can be set from the featureset
to ensure that the container get deployed during upgrade.

[1] https://review.openstack.org/#/c/537833/
[2] https://review.openstack.org/#/c/539920/1/toci-quickstart/playbooks/multinode-overcloud-prep.yml
[3] https://docs.ansible.com/ansible/latest/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable

Related-Bug: #1745348

This Tech-debt is introduced until the refactor of the release loading
is done.
Related-Bug: #1749978

Change-Id: I4df06c8a0d5d8133ba64c38b90cef34793776422
2018-03-23 12:27:34 +01:00
..
baremetal-full-deploy.yml Split general OVB setup tasks from the the stack create 2017-10-17 20:39:32 +00:00
baremetal-full-overcloud-prep.yml split baremetal playbook 2018-01-09 09:24:50 +00:00
baremetal-full-overcloud-validate.yml split baremetal playbook 2018-01-09 09:24:50 +00:00
baremetal-full-overcloud.yml split baremetal playbook 2018-01-09 09:24:50 +00:00
baremetal-full-undercloud.yml Replace validate-ipmi by enabling tripleo-validations role 2018-01-16 11:27:00 -05:00
baremetal-prep-virthost.yml Update baremetal playbook to use quickstart-extras 2016-11-24 14:43:44 +00:00
baremetal-quickstart-extras.yml split baremetal playbook 2018-01-09 09:24:50 +00:00
baremetal-undercloud.yml Add overcloud-ssl task to bm undercloud playbook 2017-11-22 12:26:40 -05:00
build-images-v2.yml Add build-images role 2017-03-02 20:14:06 +00:00
build-test-packages.yml build-test-packages: cleanup 2016-12-05 16:49:53 +01:00
cleanup-destructive.yml Correct role renames in the imported playbooks 2016-11-22 16:49:04 +01:00
collect-logs.yml Revert "Revert "Rerun inventory before collect-logs"" 2018-01-15 18:28:53 +00:00
deploy-delete.yml Add overcloud delete role 2017-01-03 22:47:02 +01:00
gate-quickstart.yml Add gate-quickstart role 2016-11-22 12:56:09 +00:00
multinode-overcloud-prep.yml Add support to mixed upgrade for overcloud-prep-container role. 2018-03-23 12:27:34 +01:00
multinode-overcloud-upgrade-legacy.yml Upgrade UC and OC using tripleo-upgrade role. 2018-02-21 13:22:33 +01:00
multinode-overcloud-upgrade-new.yml Add support to mixed upgrade for overcloud-prep-container role. 2018-03-23 12:27:34 +01:00
multinode-overcloud-upgrade.yml Upgrade UC and OC using tripleo-upgrade role. 2018-02-21 13:22:33 +01:00
multinode-overcloud.yml Move multinode playbooks to oooq extras repo 2018-01-29 10:45:02 +02:00
multinode-undercloud.yml Move multinode playbooks to oooq extras repo 2018-01-29 10:45:02 +02:00
multinode-validate.yml Add undercloud-validate tag for tempest role 2018-03-13 08:19:25 +00:00
multinode.yml Move multinode playbooks to oooq extras repo 2018-01-29 10:45:02 +02:00
nodepool-setup.yml Add role to setup any centos vm to look like nodepool vm 2017-11-13 15:54:07 +02:00
ovb-create-stack.yml Split general OVB setup tasks from the the stack create 2017-10-17 20:39:32 +00:00
ovb-delete-stack.yml Add role to create and delete the OVB stack 2016-11-23 12:17:12 -05:00
ovb-setup.yml Merge "Add undercloud to inventory before undercloud-setup" 2017-11-20 14:37:32 +00:00
prepare-slave.yml Add steps needed when using OVB with a testenv broker 2017-10-25 19:51:22 +00:00
provision_multinodes.yml Multinode provision role 2017-11-27 14:36:54 +02:00
quickstart-extras-overcloud-prep.yml Run overcloud-ssl role with default quickstart.sh tags 2018-01-19 16:06:41 +00:00
quickstart-extras-overcloud.yml Restore tags inside the main playbook 2017-11-22 10:14:11 -05:00
quickstart-extras-undercloud.yml Restore tags inside the main playbook 2017-11-22 10:14:11 -05:00
quickstart-extras-validate.yml Only execute UI validations when UI is enabled 2018-01-04 13:34:03 +00:00
quickstart-extras.yml Split quickstart-extras.yml into sub-playbooks 2017-06-29 19:58:32 +00:00
repo-setup.yml Repositories setup role 2016-12-19 16:50:57 +02:00
scale_nodes.yml Correct role renames in the imported playbooks 2016-11-22 16:49:04 +01:00
scale_nodes_verify.yml Correct role renames in the imported playbooks 2016-11-22 16:49:04 +01:00
tempest.yml Correct role renames in the imported playbooks 2016-11-22 16:49:04 +01:00
to-build-or-not-to-build.yml Use cachable facts to allow multiple runs 2017-12-05 16:56:38 +01:00
tripleo-validations.yml Add new role for tripleo-validations 2017-07-24 07:59:00 +00:00
upgrade-baremetal.yml Add sanity checks to the baremetal overcloud and upgrades playbooks 2017-02-16 10:43:16 -05:00
upgrade-only.yml Correct role renames in the imported playbooks 2016-11-22 16:49:04 +01:00
upgrade.yml Execute ping test role at the end of the upgrade 2017-01-04 15:56:48 +00:00