Skip to content

Commit

Permalink
Test live migrations (#2530)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Nov 4, 2024
1 parent 65d8ec8 commit b2f3f99
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions scripts/check/300-openstack-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set -x
set -e

source /opt/configuration/scripts/include.sh
source /opt/configuration/scripts/manager-version.sh

export OS_CLOUD=admin

Expand Down Expand Up @@ -37,3 +38,20 @@ echo "# Run OpenStack test play"
echo

osism apply --environment openstack test
openstack --os-cloud test server list

compute_list() {
osism manage compute list testbed-node-3
osism manage compute list testbed-node-4
osism manage compute list testbed-node-5
}

if [[ $MANAGER_VERSION == "latest" ]]; then
compute_list
osism manage compute migrate --yes --target testbed-node-3 testbed-node-4
osism manage compute migrate --yes --target testbed-node-3 testbed-node-5
compute_list
osism manage compute migrate --yes --target testbed-node-4 testbed-node-3
compute_list
osism manage compute migrate --yes --target testbed-node-5 testbed-node-4
fi

0 comments on commit b2f3f99

Please sign in to comment.