From 505fed0667e3cf19c587df23f5557563eaa51eb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Thu, 30 Apr 2020 13:07:18 +0200 Subject: [PATCH] Update OpenStack release detection MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Icad13836d88583ee676525d4743f12a5b888ebe2 Signed-off-by: Cédric Ollivier --- functest/utils/functest_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py index a9c9e5e72..c48acd3b9 100644 --- a/functest/utils/functest_utils.py +++ b/functest/utils/functest_utils.py @@ -114,8 +114,10 @@ def get_openstack_version(cloud): version = get_nova_version(cloud) try: assert version - if version > (2, 79): + if version > (2, 87): osversion = "Master" + elif version > (2, 79): + osversion = "Ussuri" elif version > (2, 72): osversion = "Train" elif version > (2, 65): -- 2.16.6