tripleo-quickstart-extras/roles
Bogdan Dobrelya 36569be28d Unify custom t-h-t install steps for UC/OC/upgrade
Allow undercloud installations/upgrades from custom t-h-t, similarly to
overcloud_templates_* et al.

Unify and share custom t-h-t install script for OC and UC and mixed
update/upgrade cases via new shared role tht-prep-config.

To diverge undercloud from overcloud install/update/upgrade cases, use
the following shared mappings (vars on the right correspond to UC
cases):

  * tht_templates_path: undercloud_templates_path (defaults to RPM dir)
  * tht_templates_repo: undercloud_templates_repo
  * tht_templates_branch: undercloud_templates_branch
  * tht_templates_refspec: undercloud_templates_refspec

and a 2nd group (defaults set to do nothing, but only disable the
t-h-t prepare script's code blocks under control of those):

  * composable_scenario:  undercloud_composable_scenario
  * upgrade_composable_scenario: undercloud_upgrade_composable_scenario
  * prep_post_hook_script: undercloud_prep_post_hook_script
  * download_templates_rpm: download_undercloud_templates_rpm
  * tht_rpm_url: undercloud_tht_rpm_url

Those in group 2 may be customized to mimic the overcloud mixed
upgrades logic for underclouds/all-in-one for future use.

And for overclouds respectively, use mappings:

  * composable_scenario: remains unchanged
  * upgrade_composable_scenario: remains unchanged
  * prep_post_hook_script: overcloud_prep_post_hook_script
  * download_templates_rpm: download_overcloud_templates_rpm
  * tht_rpm_url: remains unchanged
  * tht_templates_path: overcloud_templates_path
  ...

Related-bug: #1691467
Closes-bug: #1781227
Change-Id: I4e0dcf24b93b8e4afb8359cb5108c4b7b5ba3d55
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-08-06 08:03:37 +00:00
..
baremetal-prep-overcloud Revert "Remove adjust-interface-mtus script" 2018-04-05 23:09:27 +00:00
baremetal-prep-virthost Integrate undercloud_user var into oooq-extras 2017-01-18 09:32:16 -05:00
baremetal-undercloud Merge "Remove extra spaces and fix README for bmu role" 2018-04-09 19:48:18 +00:00
build-images Use cachable facts to allow multiple runs 2017-12-05 16:56:38 +01:00
build-test-packages Fix Ansible Using tests as filters is deprecated 2018-07-17 13:05:57 +01:00
collect-logs Unify custom t-h-t install steps for UC/OC/upgrade 2018-08-06 08:03:37 +00:00
container-prep ensure the container_build_id is set 2018-07-04 12:00:24 +00:00
create-reproducer-script Merge "reproducer: cherry pick zuul changes" 2018-07-31 18:14:18 +00:00
dump_vars dump out all the variables used 2017-12-14 09:38:45 -05:00
extras-common set container variables when needed 2018-06-26 02:03:48 +00:00
freeipa-setup Merge "Introduce a custom parameter to pass to ipa-server-install" 2018-06-08 03:46:05 +00:00
gate-quickstart Merge "[gate-quickstart] Fix some wild typos" 2017-03-17 14:36:49 +00:00
install-built-repo Use web repo with installed packages for image build 2017-04-05 14:15:05 +03:00
modify-image Set the permissions for "/" in the ramdisk 2018-05-18 17:55:46 +01:00
multinodes Merge "Search for last public image for reproducer" 2018-07-31 01:16:41 +00:00
nodepool-setup Fix yum contentdir var for non altarch 2018-06-12 10:07:03 +05:30
ovb-manage-stack Fix Ansible Using tests as filters is deprecated 2018-07-17 13:05:57 +01:00
overcloud-delete overcloud-delete: role test 2017-05-19 17:39:02 +00:00
overcloud-deploy update default libvirt from qemu -> kvm 2018-07-21 04:08:52 +00:00
overcloud-prep-config Unify custom t-h-t install steps for UC/OC/upgrade 2018-08-06 08:03:37 +00:00
overcloud-prep-containers Run image prepare with --verbose 2018-06-30 14:01:20 +00:00
overcloud-prep-flavors Add pipefail to each command that piped with timestamp 2017-03-26 19:49:32 +03:00
overcloud-prep-images Fix overcloud image upload for containerized UC 2018-03-01 12:02:45 +01:00
overcloud-prep-network Remove nat/masquerading config workarounds. 2018-04-13 05:08:16 +00:00
overcloud-scale Use cachable facts to allow multiple runs 2017-12-05 16:56:38 +01:00
overcloud-ssl Fix SSL certs creation for ipv6 2017-12-01 19:19:12 +00:00
overcloud-upgrade Fix centos opstools repo deactivation 2018-08-02 07:51:06 +00:00
snapshot-libvirt Add role to manage snapshots in a libvirt environment 2018-04-30 12:53:15 +00:00
standalone Add network prefix configuration 2018-07-10 06:04:22 +00:00
tht-prep-config Unify custom t-h-t install steps for UC/OC/upgrade 2018-08-06 08:03:37 +00:00
tripleo-validations Modify failed tripleo validations log file name 2018-03-27 09:07:05 +00:00
undercloud-deploy Unify custom t-h-t install steps for UC/OC/upgrade 2018-08-06 08:03:37 +00:00
undercloud-setup Enable ARA for the undercloud install 2018-06-28 20:59:30 +00:00
validate-ipmi Merge "Fix a typo" 2018-01-08 23:10:40 +00:00
validate-perf Fix dstat time penalty for failed runs 2018-04-12 15:25:48 -03:00
validate-sanity-checks Add pipefail to each command that piped with timestamp 2017-03-26 19:49:32 +03:00
validate-simple Merge "Remove compatibility cruft from overcloud-validate" 2018-03-28 21:02:00 +00:00
validate-tempest Cleaning up tempest skip tests for pike 2018-08-01 17:04:44 +02:00
validate-ui Fix conflicting cut/paste licence 2018-02-13 13:49:57 +00:00
validate-undercloud Use openstack CLI for ironic 2018-06-28 17:51:51 +00:00
virthost-full-cleanup Add /root/.cache/image-create to cleanup role 2017-07-24 15:18:21 +00:00