Skip to content

Commit 6f0da8a

Browse files
cubeekaverdagu
authored andcommitted
ovn migration: Turn validations off by default
The validation is intended mostly for tests and don't make much sense when running the migration in production because likely there are already running workloads. This patch changes the default to False so migration validation must be explicitly asked for. Change-Id: I5470f61a5e0b55bf682526208c3f57dc0ca6ffd5 Signed-off-by: Jakub Libosvar <[email protected]> (cherry picked from commit 0baf884)
1 parent 43f8e59 commit 6f0da8a

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

doc/source/ovn/migration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Perform the following steps in the undercloud
136136
* VALIDATE_MIGRATION - Create migration resources to validate the
137137
migration. The migration script, before starting the migration, boot a
138138
server and validates that the server is reachable after the migration.
139-
Default: True.
139+
Default: False
140140

141141
* SERVER_USER_NAME - User name to use for logging into the migration
142142
instances.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
other:
3+
- |
4+
The OVN migration performs validation by default. This validation means an
5+
instance is spawned and is tested by simple ping after the migration is
6+
finished. Also it tries to create new workload post migration. This is
7+
useful for very simple scenarios when migration is tested but is not
8+
really useful in production since likely the production envrionments
9+
already have running workloads. It makes more sense to require the
10+
validation explicitly rather than implicitly run it as the migration
11+
is mostly intended for production. The VALIDATE_MIGRATION now defaults to
12+
False and needs to be changed to True if validation upon request.

tools/ovn_migration/tripleo_environment/ovn_migration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ LANG=C
3939
: ${IMAGE_NAME:=cirros}
4040
: ${FLAVOR_NAME:=ovn-migration}
4141
: ${SERVER_USER_NAME:=cirros}
42-
: ${VALIDATE_MIGRATION:=True}
42+
: ${VALIDATE_MIGRATION:=False}
4343
: ${DHCP_RENEWAL_TIME:=30}
4444
: ${CREATE_BACKUP:=True}
4545
: ${BACKUP_MIGRATION_IP:=192.168.24.1} # TODO: Document this new var

0 commit comments

Comments
 (0)