Skip to content

Commit 87b539c

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "ovn migration: Turn validations off by default" into stable/yoga
2 parents 9fdaa0a + 6f0da8a commit 87b539c

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)