From 07435d1d3f3989a960aa13e3543e1b62a36e5ddf Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Thu, 30 May 2019 16:53:17 +0000 Subject: [PATCH] Cap compute and volume API microversion on Tempest This commit cap the compute and volume API microversions on Tempest config. - https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#maximum-in-stein - https://docs.openstack.org/cinder/latest/contributor/api_microversion_history.html#maximum-in-stein Change-Id: I94370d51da4a2113e25a9c5502a0ff9df001a97e --- lib/tempest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tempest b/lib/tempest index e9463a1381..a60a192e9e 100644 --- a/lib/tempest +++ b/lib/tempest @@ -358,7 +358,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.72"} # 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 @@ -468,7 +468,7 @@ function configure_tempest { fi iniset $TEMPEST_CONFIG volume-feature-enabled extend_attached_volume $(trueorfalse False TEMPEST_EXTEND_ATTACHED_VOLUME) 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.59"} # Reset microversions to None where v2 is running which does not support microversion. # Both "None" means no microversion testing. if [[ "$TEMPEST_VOLUME_TYPE" == "volumev2" ]]; then