Merge "ovn migration: Turn validations off by default" into stable/yoga

This commit is contained in:
Zuul 2023-03-01 21:22:37 +00:00 committed by Gerrit Code Review
commit 87b539ceb4
3 changed files with 14 additions and 2 deletions

View File

@ -136,7 +136,7 @@ Perform the following steps in the undercloud
* VALIDATE_MIGRATION - Create migration resources to validate the
migration. The migration script, before starting the migration, boot a
server and validates that the server is reachable after the migration.
Default: True.
Default: False
* SERVER_USER_NAME - User name to use for logging into the migration
instances.

View File

@ -0,0 +1,12 @@
---
other:
- |
The OVN migration performs validation by default. This validation means an
instance is spawned and is tested by simple ping after the migration is
finished. Also it tries to create new workload post migration. This is
useful for very simple scenarios when migration is tested but is not
really useful in production since likely the production envrionments
already have running workloads. It makes more sense to require the
validation explicitly rather than implicitly run it as the migration
is mostly intended for production. The VALIDATE_MIGRATION now defaults to
False and needs to be changed to True if validation upon request.

View File

@ -39,7 +39,7 @@ LANG=C
: ${IMAGE_NAME:=cirros}
: ${FLAVOR_NAME:=ovn-migration}
: ${SERVER_USER_NAME:=cirros}
: ${VALIDATE_MIGRATION:=True}
: ${VALIDATE_MIGRATION:=False}
: ${DHCP_RENEWAL_TIME:=30}
: ${CREATE_BACKUP:=True}
: ${BACKUP_MIGRATION_IP:=192.168.24.1} # TODO: Document this new var