neutron/tools
Arnau Verdaguer c35aed1b30 Migration revert plan
As a failsave the migration code can create a backup of
the controllers to use in case that the migration fails
and leaves the environment on a unusable state.

The revert plan has two stages:
1- Backup stage: included on the current ovn-migration.yml.
   Can be configured using the env variable CREATE_BACKUP
   (True by default). This stage will run the new ansible
   role, recovery-backup.
   It will store the backup on `/ctl_plane_backup` on the host
   where the BACKUP_MIGRATION_IP belongs to (can be modified by
   modifing the env var).
   In order to restore the controllers, boot them using the iso created
   by ReaR (stored in /ctl_plane_backup) and perform `automatic recover`
2- Revert stage: this stage has its own ansible playbook (revert.yml)
   This playbook will clean the environment from all the OVN ressources
   that could had been created (breaking the data plane connectivity)
   to leave the environment in a stage where an overcloud deploy with
   the OVS templates can be run.

Note: If the user creates new resources after running the backup stage
and then performs the recovery of the controllers, those resources will
be lost.

Conflicts:
    tools/ovn_migration/tripleo_environment/ovn_migration.sh

Change-Id: I7093f6a5f282b06fb2267cf2c88c533c1eae685d
(cherry picked from commit 7003817b69)
2022-09-20 11:07:24 +02:00
..
ovn_migration Migration revert plan 2022-09-20 11:07:24 +02:00
tripleo Merge networking-ovn documentation into neutron 2020-02-13 18:54:15 +09:00
abandon_old_reviews.sh Make abandon_old_reviews script to be compatible with python 3 2020-09-25 18:34:09 +02:00
bug-1921150-re-parent-device-rps.sql Physical NIC RP should be child of agent RP 2021-05-05 08:09:36 +00:00
check_unit_test_structure.sh Fix bashate warnings 2017-03-07 13:32:04 -05:00
coding-checks.sh Add bashate support 2017-02-25 06:29:55 +00:00
configure_for_func_testing.sh Fix configure_for_func_testing script 2022-05-17 16:23:33 +00:00
deploy_rootwrap.sh Set an absolute path in rootwrap filters_path 2020-02-13 17:10:53 +00:00
download_gerrit_change.py [OVN] scripts for networking-ovn code migration 2020-01-26 20:19:43 +00:00
files_in_patch.py [OVN] scripts for networking-ovn code migration 2020-01-26 20:19:43 +00:00
generate_config_file_samples.sh Remove unnecessary 'set -x' at EOL in genconfig script 2018-12-13 13:28:57 +00:00
generate_dhclient_script_for_fullstack.sh fullstack: Don't let dhcp agents failover 2017-04-20 14:04:50 +00:00
install_venv.py Stop to use the __future__ module. 2020-06-04 08:34:47 +00:00
install_venv_common.py Stop to use the __future__ module. 2020-06-04 08:34:47 +00:00
list_moved_globals.py Stop to use the __future__ module. 2020-06-04 08:34:47 +00:00
migrate_names.py [OVN] scripts for networking-ovn code migration 2020-01-26 20:19:43 +00:00
migrate_names.txt [OVN] Updates to tools/migrate_names.txt 2020-12-14 16:44:40 -05:00
misc-sanity-checks.sh Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
pip_install_src_modules.sh Updates for python3.8 2020-04-28 14:03:21 -04:00
requirements.txt [OVN] scripts for networking-ovn code migration 2020-01-26 20:19:43 +00:00
split.sh Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 10:00:45 +08:00
unassign_bug.py Add launchpad bug update support to abandon script 2017-04-16 02:44:03 -07:00
with_venv.sh Use tools_path/venv environment variables in install_venv 2016-01-20 02:07:12 +00:00