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
This commit is contained in:
ghanshyam 2018-03-06 13:20:55 +03:00
parent 0f65575b5f
commit abe9fd826a
1 changed files with 2 additions and 2 deletions

View File

@ -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