From c6aeeca8a1a6655dca6834d7696d5830b54c506c Mon Sep 17 00:00:00 2001 From: Samuel Allan Date: Fri, 4 Oct 2024 11:25:31 +0930 Subject: [PATCH] Fix supported horizon releases for Antelope 2023.1 (#574) Highest documented supported version of horizon with antelope is 23.1.1 ( https://releases.openstack.org/antelope/index.html#antelope-horizon ), but horizon 23.2.0 was released to the antelope cloud archive ( https://bugs.launchpad.net/cloud-archive/+bug/2030514 ), so horizon on antelope in charmed openstack will update to 23.2.0. COU must support this case, otherwise it will block on verifying the workload version. Fixes: #560 --- cou/utils/openstack_lookup.csv | 2 +- tests/unit/utils/test_openstack.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cou/utils/openstack_lookup.csv b/cou/utils/openstack_lookup.csv index 8ed1db87..5023a477 100644 --- a/cou/utils/openstack_lookup.csv +++ b/cou/utils/openstack_lookup.csv @@ -6,7 +6,7 @@ cinder,16.0.0,17.0.0,17.0.0,18.0.0,18.0.0,19.0.0,19.0.0,20.0.0,20.0.0,21.0.0,21. designate,10.0.0,11.0.0,11.0.0,12.0.0,12.0.0,13.0.0,13.0.0,14.0.0,14.0.0,15.0.0,15.0.0,16.0.0,16.0.0,17.0.0,17.0.0,18.0.0,18.0.0,19.0.0 glance,20.0.0,21.0.0,21.0.0,22.0.0,22.0.0,23.0.0,23.0.0,24.0.0,24.0.0,25.0.0,25.0.0,26.0.0,26.0.0,27.0.0,27.0.0,28.0.0,28.0.0,29.0.0 heat,14.0.0,15.0.0,15.0.0,16.0.0,16.0.0,17.0.0,17.0.0,18.0.0,18.0.0,19.0.0,19.0.0,20.0.0,20.0.0,21.0.0,21.0.0,22.0.0,22.0.0,23.0.0 -horizon,17.0.0,18.4.0,18.4.0,19.0.0,19.0.0,20.0.0,20.0.0,20.2.0,20.2.0,22.2.0,22.2.0,23.1.0,23.1.0,23.2.0,23.2.0,23.4.0,23.4.0,25.0.0 +horizon,17.0.0,18.4.0,18.4.0,19.0.0,19.0.0,20.0.0,20.0.0,20.2.0,20.2.0,22.2.0,22.2.0,23.1.0,23.1.0,23.3.0,23.2.0,23.4.0,23.4.0,25.0.0 keystone,17.0.0,18.0.0,18.0.0,19.0.0,19.0.0,20.0.0,20.0.0,21.0.0,21.0.0,22.0.0,22.0.0,23.0.0,23.0.0,24.0.0,24.0.0,25.0.0,25.0.0,26.0.0 manila,10.0.0,11.0.0,11.0.0,12.0.0,12.0.0,13.0.0,13.0.0,14.0.0,14.0.0,15.0.0,15.0.0,16.0.0,16.0.0,17.0.0,17.0.0,18.0.0,18.0.0,19.0.0 masakari,9.0.0,10.0.0,10.0.0,11.0.0,11.0.0,12.0.0,12.0.0,13.0.0,13.0.0,14.0.0,14.0.0,15.0.0,15.0.0,16.0.0,16.0.0,17.0.0,17.0.0,18.0.0 diff --git a/tests/unit/utils/test_openstack.py b/tests/unit/utils/test_openstack.py index 32797237..55d9fab5 100644 --- a/tests/unit/utils/test_openstack.py +++ b/tests/unit/utils/test_openstack.py @@ -103,7 +103,7 @@ def test_version_range_raises_ValueError(lower, upper): ["yoga"], ["zed"], ["antelope"], - ["bobcat"], + ["antelope", "bobcat"], ["caracal"], ], ),