tripleo-heat-templates/common
Janki Chhatbar 98faacad44 Minor update steps for ODL
Updating OpenStack (within release) means updating ODL from v1 to v1.1.
This is done by "openstack overcloud update" which collects
update_tasks. ODL needs 2 different steps to achieve this
minor update. These are called Level1 and Level2. L1 is
simple - stop ODL, update, start. This is taken care by paunch
and no separate implementation is needed. L2 has extra steps
which are implemented in update_tasks and post_update_tasks.

Updating ODL within the same major release (1->1.1) consists of either
L1 or L2 steps. These steps are decided from ODLUpdateLevel parameter
specified in environments/services-docker/update-odl.yaml.

Upgrading ODL to the next major release (1.1->2) requires
only the L2 steps. These are implemented as upgrade_tasks and
post_upgrade_tasks in https://review.openstack.org/489201.

Steps involved in level 2 update are
 1. Block OVS instances to connect to ODL
 2. Set ODL upgrade flag to True
 3. Start ODL
 4. Start Neutron re-sync and wait for it to finish
 5. Delete OVS groups and ports
 6. Stop OVS
 7. Unblock OVS ports
 8. Start OVS
 9. Unset ODL upgrade flag

These steps are exactly same as upgrade_tasks.
The logic implemented is:
follow upgrade_tasks; when update_level == 2

Change-Id: Ie532800663dd24313a7350b5583a5080ddb796e7
2018-03-08 17:20:47 +05:30
..
deploy-steps-tasks.yaml Add name to debug tasks 2018-02-12 10:13:25 +00:00
deploy-steps.j2 Minor update steps for ODL 2018-03-08 17:20:47 +05:30
major_upgrade_steps.j2.yaml Pass blacklisted_{ip_addresses,hostnames} to major_upgrade_steps 2018-01-25 14:59:25 +01:00
post-upgrade.j2.yaml Add RoleConfig output to major_upgrade_steps.j2.yaml 2017-09-12 09:58:50 +01:00
post.j2.yaml Consolidate puppet/docker deployments with one deploy steps workflow 2017-08-11 17:25:02 +00:00
services.yaml Minor update steps for ODL 2018-03-08 17:20:47 +05:30