tripleo-heat-templates/tools
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
..
check-up-to-date.sh Add pep8 check that generated environments are up to date 2017-09-07 15:30:31 -05:00
process-templates.py Render NIC config templates with jinja2 2018-02-13 00:19:37 -08:00
releasenotes_tox.sh Add ReNo support 2017-01-13 14:35:27 -05:00
roles-data-generate-samples.sh Add in roles data validation 2017-07-07 09:51:40 -06:00
roles-data-generate.py Add in roles data validation 2017-07-07 09:51:40 -06:00
roles-data-validation.sh Add in roles data validation 2017-07-07 09:51:40 -06:00
yaml-nic-config-2-script.py Replace six.iteritems() with .items() 2017-04-07 15:23:50 +08:00
yaml-validate.py Minor update steps for ODL 2018-03-08 17:20:47 +05:30