From d1e701f61605326fb908778f13aa2c25cc915a80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Mon, 5 Oct 2020 20:47:10 +0200 Subject: [PATCH] Add Victoria in OpenStack release detection MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I0e2b02f6ce5b315da090a5a04ae1c0e40ec114aa Signed-off-by: Cédric Ollivier --- .../opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml | 6 +++--- .../openstack/tempest/custom_tests/tempest_conf_ovn.yaml | 6 +++--- functest/utils/functest_utils.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml b/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml index a444a54f5..7bd323690 100644 --- a/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml +++ b/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml @@ -1,6 +1,6 @@ --- compute: - max_microversion: latest + max_microversion: 2.87 compute-feature-enabled: attach_encrypted_volume: false block_migration_for_live_migration: false @@ -54,7 +54,7 @@ network-feature-enabled: port_security: true floating_ips: true placement: - max_microversion: latest + max_microversion: 1.36 validation: image_ssh_user: cirros ssh_timeout: 196 @@ -62,7 +62,7 @@ validation: run_validation: true connect_method: floating volume: - max_microversion: latest + max_microversion: 3.62 storage_protocol: ceph manage_volume_ref: source-name,volume-%s manage_snapshot_ref: source-name,snapshot-%s diff --git a/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf_ovn.yaml b/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf_ovn.yaml index 141f295b4..057d74e80 100644 --- a/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf_ovn.yaml +++ b/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf_ovn.yaml @@ -1,6 +1,6 @@ --- compute: - max_microversion: latest + max_microversion: 2.87 compute-feature-enabled: attach_encrypted_volume: false block_migration_for_live_migration: false @@ -54,7 +54,7 @@ network-feature-enabled: port_security: true floating_ips: true placement: - max_microversion: latest + max_microversion: 1.36 validation: image_ssh_user: cirros ssh_timeout: 196 @@ -62,7 +62,7 @@ validation: run_validation: true connect_method: floating volume: - max_microversion: latest + max_microversion: 3.62 storage_protocol: ceph manage_volume_ref: source-name,volume-%s manage_snapshot_ref: source-name,snapshot-%s diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py index c48acd3b9..f2d93a8a4 100644 --- a/functest/utils/functest_utils.py +++ b/functest/utils/functest_utils.py @@ -117,7 +117,7 @@ def get_openstack_version(cloud): if version > (2, 87): osversion = "Master" elif version > (2, 79): - osversion = "Ussuri" + osversion = "Ussuri or Victoria" elif version > (2, 72): osversion = "Train" elif version > (2, 65): -- 2.16.6