From abe9fd826ae624993d79e9f85f2e08fc403de359 Mon Sep 17 00:00:00 2001 From: ghanshyam Date: Tue, 6 Mar 2018 13:20:55 +0300 Subject: [PATCH] Cap max microversions for queens This commit cap the max microversions for compute and volume API for queens. compute- https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#maximum-in-queens volume- https://docs.openstack.org/cinder/latest/contributor/api_microversion_history.html Change-Id: I4a674fb621c69f035cec68cc6163eca5925e99d5 --- lib/tempest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tempest b/lib/tempest index 3b39dae422..f435c431bc 100644 --- a/lib/tempest +++ b/lib/tempest @@ -339,7 +339,7 @@ function configure_tempest { # NOTE- To avoid microversion tests failure on stable branch, we need to change "tempest_compute_max_microversion" # for stable branch on each release which should be changed from "latest" to max supported version of that release. local tempest_compute_min_microversion=${TEMPEST_COMPUTE_MIN_MICROVERSION:-None} - local tempest_compute_max_microversion=${TEMPEST_COMPUTE_MAX_MICROVERSION:-"latest"} + local tempest_compute_max_microversion=${TEMPEST_COMPUTE_MAX_MICROVERSION:-"2.60"} # Reset microversions to None where v2.0 is running which does not support microversion. # Both "None" means no microversion testing. if [[ "$TEMPEST_COMPUTE_TYPE" == "compute_legacy" ]]; then @@ -445,7 +445,7 @@ function configure_tempest { iniset $TEMPEST_CONFIG volume-feature-enabled api_v3 True iniset $TEMPEST_CONFIG volume-feature-enabled api_v1 $(trueorfalse False TEMPEST_VOLUME_API_V1) local tempest_volume_min_microversion=${TEMPEST_VOLUME_MIN_MICROVERSION:-None} - local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"latest"} + local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"3.50"} if [ "$tempest_volume_min_microversion" == "None" ]; then inicomment $TEMPEST_CONFIG volume min_microversion else