tripleo-heat-templates/environments/lifecycle
Steve Baker ab958c2f3e Set ServerDeletionPolicy during upgrade prepare and converge
This change will always set ServerDeletionPolicy to 'retain' during
upgrade prepare, and back to the default 'delete' during the converge.

For a normal upgrade this will have no effect since scale-down is not
recommended during an upgrade.

For a transition from nova based undercloud to nova-less, this allows
the following steps to work:
1. operator builds a valid deployed-server environment file by running
   'openstack overcloud node extract provisioned'[1]
2. running 'openstack overcloud upgrade prepare' will prevent the next
   stack update from deleting any nova servers
3. running 'openstack overcloud upgrade converge' with the environment
   from 1. will replace nova heat resources with deployed server
   resources which are managed directly with the provision/unprovision
   commands

This approach is an alternative to preventing the heat nova resource
from ever deleting a nova server after the undercloud upgrade[2]

[1] https://review.opendev.org/#/c/674141/
[2] https://review.opendev.org/#/c/675498/
Blueprint: bp/nova-less-deploy

Change-Id: I0bca04cd4883a1bf61b06a0828e323bc388a95be
2019-11-05 09:08:06 +13:00
..
ffwd-upgrade-converge.yaml Ceph update and upgrade in config-download era 2018-08-02 15:04:22 +02:00
ffwd-upgrade-prepare.yaml Remove fluentd composable service 2019-08-29 13:52:55 +01:00
undercloud-upgrade-prepare.yaml move undercloud-upgrade.yaml into deployment 2019-03-21 07:29:46 -04:00
update-converge.yaml Ceph update and upgrade in config-download era 2018-08-02 15:04:22 +02:00
update-prepare.yaml Update/upgrade prepare/converge in config-download era 2018-07-17 20:01:12 +02:00
upgrade-converge.yaml Set ServerDeletionPolicy during upgrade prepare and converge 2019-11-05 09:08:06 +13:00
upgrade-prepare.yaml Set ServerDeletionPolicy during upgrade prepare and converge 2019-11-05 09:08:06 +13:00