Skip to content

Commit ea97a5b

Browse files
committed
Cap API max microversions for stable/2025.2
This commit cap the API max microversions for compute, volume and placement API for stable/2025.2. Compute - https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/rest_api_version_history.rst#2100-maximum-in-20251-epoxy Volume - https://github.com/openstack/cinder/blob/master/cinder/api/openstack/rest_api_version_history.rst#371 Placement - https://github.com/openstack/placement/blob/master/placement/rest_api_version_history.rst#139---support-for-the-any-traits-syntax-in-the-required-parameter Change-Id: Ic40befb1567851976562bfbe8311e494f47d3806 Signed-off-by: Ghanshyam Maan <gmaan@ghanshyammann.com>
1 parent 5d91872 commit ea97a5b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

lib/tempest

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -483,11 +483,12 @@ function configure_tempest {
483483
# Compute Features
484484
# Set the microversion range for compute tests.
485485
# This is used to run the Nova microversions tests.
486-
# Setting [None, latest] range of microversion which allow Tempest to run all microversions tests.
486+
# Setting [None, 2.100] range of microversion which allow Tempest to run all microversions tests
487+
# on stable/2025.2.
487488
# NOTE- To avoid microversion tests failure on stable branch, we need to change "tempest_compute_max_microversion"
488489
# for stable branch on each release which should be changed from "latest" to max supported version of that release.
489490
local tempest_compute_min_microversion=${TEMPEST_COMPUTE_MIN_MICROVERSION:-None}
490-
local tempest_compute_max_microversion=${TEMPEST_COMPUTE_MAX_MICROVERSION:-"latest"}
491+
local tempest_compute_max_microversion=${TEMPEST_COMPUTE_MAX_MICROVERSION:-"2.100"}
491492
# Reset microversions to None where v2.0 is running which does not support microversion.
492493
# Both "None" means no microversion testing.
493494
if [[ "$TEMPEST_COMPUTE_TYPE" == "compute_legacy" ]]; then
@@ -605,7 +606,7 @@ function configure_tempest {
605606
iniset $TEMPEST_CONFIG volume backup_driver swift
606607
fi
607608
local tempest_volume_min_microversion=${TEMPEST_VOLUME_MIN_MICROVERSION:-None}
608-
local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"latest"}
609+
local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"3.71"}
609610
if [ "$tempest_volume_min_microversion" == "None" ]; then
610611
inicomment $TEMPEST_CONFIG volume min_microversion
611612
else
@@ -660,11 +661,12 @@ function configure_tempest {
660661

661662
# Placement Features
662663
# Set the microversion range for placement.
663-
# Setting [None, latest] range of microversion which allow Tempest to run all microversions tests.
664+
# Setting [None, 1.39] range of microversion which allow Tempest to run all microversions tests
665+
# on stable/2025.2.
664666
# NOTE- To avoid microversion tests failure on stable branch, we need to change "tempest_placement_max_microversion"
665667
# for stable branch on each release which should be changed from "latest" to max supported version of that release.
666668
local tempest_placement_min_microversion=${TEMPEST_PLACEMENT_MIN_MICROVERSION:-None}
667-
local tempest_placement_max_microversion=${TEMPEST_PLACEMENT_MAX_MICROVERSION:-"latest"}
669+
local tempest_placement_max_microversion=${TEMPEST_PLACEMENT_MAX_MICROVERSION:-"1.39"}
668670
if [ "$tempest_placement_min_microversion" == "None" ]; then
669671
inicomment $TEMPEST_CONFIG placement min_microversion
670672
else

0 commit comments

Comments
 (0)