From a7d927be231a375c6933d0a127db30fc4097b93e Mon Sep 17 00:00:00 2001 From: Pawel Koniszewski Date: Wed, 5 Oct 2016 16:14:19 +0200 Subject: [PATCH] Add new configuration option for LM+grenade job In order to test whether live migration is backward compatible we need to live migrate VM back and forth between two versions of nova. This configuration option will allow to reuse existing tests just by adding if condition in a method that invokes live migration and validates outcome: * If set to False, it will use existing behaviour * If set to True, it will live migrate VM, validate whether it succeded, then live migrate the same VM once again and again validate the result Depends-On: Icaeca404ec3e4b8f3cd489789fdac6117740ec43 Change-Id: I8da2b3bd0c08d9a3111d3531c346d06bd52cae7b (cherry picked from commit 8a92b7f1deeb1b9e99b41b7d7b8e22ca9636b6af) --- lib/tempest | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tempest b/lib/tempest index ef3a689a97..456104b7fe 100644 --- a/lib/tempest +++ b/lib/tempest @@ -356,6 +356,7 @@ function configure_tempest { iniset $TEMPEST_CONFIG compute-feature-enabled live_migration ${LIVE_MIGRATION_AVAILABLE:-False} iniset $TEMPEST_CONFIG compute-feature-enabled change_password False iniset $TEMPEST_CONFIG compute-feature-enabled block_migration_for_live_migration ${USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION:-False} + iniset $TEMPEST_CONFIG compute-feature-enabled live_migrate_back_and_forth ${LIVE_MIGRATE_BACK_AND_FORTH:-False} iniset $TEMPEST_CONFIG compute-feature-enabled attach_encrypted_volume ${ATTACH_ENCRYPTED_VOLUME_AVAILABLE:-True} if is_service_enabled n-cell; then # Cells doesn't support shelving/unshelving