From 5841e361c611d1da27dfaa233f2e597648466795 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Fri, 12 Oct 2018 09:27:09 -0400 Subject: [PATCH] tempest: cap max microversions for compute/volume APIs This caps the max_microversion configuration for compute and volume APIs in tempest for Rocky. [1] https://docs.openstack.org/nova/rocky/reference/api-microversion-history.html [2] https://docs.openstack.org/cinder/rocky/contributor/api_microversion_history.html Change-Id: Id59ea9ef38feb81fcc02f1779a65bcf89fa7865b --- lib/tempest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tempest b/lib/tempest index 18003cf4c0..2efa0038e0 100644 --- a/lib/tempest +++ b/lib/tempest @@ -347,7 +347,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.65"} # 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 @@ -460,7 +460,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.55"} # 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