From 0624778b24afc7f1ed3b2f628de3c4405dc16174 Mon Sep 17 00:00:00 2001 From: Timofey Durakov Date: Tue, 10 Nov 2015 15:05:55 +0300 Subject: [PATCH] Hook for live-migration job Live-migration multinode job should check different configurations. To implement this new hook in nova should be used. Current patch adds execution of live-migration specific use-cases. Change-Id: I3ad9287b8f103a874f88100df82fa9e1f8617d6f --- nova/tests/live_migration/hooks/run_tests.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 nova/tests/live_migration/hooks/run_tests.sh diff --git a/nova/tests/live_migration/hooks/run_tests.sh b/nova/tests/live_migration/hooks/run_tests.sh new file mode 100644 index 000000000000..c7973eeb52bb --- /dev/null +++ b/nova/tests/live_migration/hooks/run_tests.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Live migration dedicated ci job will be responsible for testing different +# environments based on underlying storage, used for ephemerals. +# This hook allows to inject logic of environment reconfiguration in ci job. +# Base scenario for this would be: +# - run live-migration on env without shared storage +# - set up ceph for ephemerals, and reconfigure nova, tempest for that +# - run live-migration tests +# - remove ceph and set up nfs for ephemerals, make appropriate change in nova +# and tempest config +# - run live-migration tests + +tempest tox -eall --concurrency=$TEMPEST_CONCURRENCY live_migration