Skip to content

Commit

Permalink
Update openstack_lookup.csv (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
chanchiwai-ray authored Oct 22, 2024
1 parent e2007e6 commit 543fa6a
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 24 deletions.
46 changes: 23 additions & 23 deletions cou/utils/openstack_lookup.csv
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
service,ussuri-lower_version,ussuri-upper_version,victoria-lower_version,victoria-upper_version,wallaby-lower_version,wallaby-upper_version,xena-lower_version,xena-upper_version,yoga-lower_version,yoga-upper_version,zed-lower_version,zed-upper_version,antelope-lower_version,antelope-upper_version,bobcat-lower_version,bobcat-upper_version,caracal-lower_version,caracal-upper_version
aodh,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
barbican,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
ceilometer,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
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.0.0,22.0.0,22.0.0,23.0.0,23.0.0,24.0.0,24.0.0,25.0.0
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.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
neutron,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,23.0.0,24.0.0,24.0.0,25.0.0
nova,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,29.0.0,30.0.0
octavia,6.0.0,7.0.0,7.0.0,8.0.0,8.0.0,9.0.0,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
placement,3.0.0,4.0.0,4.0.0,5.0.0,5.0.0,6.0.0,6.0.0,7.0.0,7.0.0,8.0.0,8.0.0,9.0.0,9.0.0,10.0.0,10.0.0,11.0.0,11.0.0,12.0.0
swift,2.24.0,2.26.0,2.26.0,2.27.0,2.27.0,2.28.0,2.28.0,2.29.0,2.29.0,2.30.0,2.30.0,2.31.0,2.31.0,2.32.0,2.32.0,2.33.0,2.33.0,2.34.0
ceph,15.2.0,16.2.0,15.2.0,16.2.0,16.2.0,17.2.0,16.2.0,17.2.0,17.2.0,18.2.0,17.2.0,18.2.0,17.2.0,18.2.0,18.2.0,19.2.0,19.2.0,20.0.0
gnocchi,4.3.0,4.4.0,4.4.0,4.4.1,4.4.0,4.4.1,4.4.1,4.4.2,4.4.1,4.4.2,4.4.2,4.5.0,4.5.0,4.6.0,4.6.0,4.6.1,4.6.0,4.7.0
service,ussuri-lower_version,ussuri-upper_version,victoria-lower_version,victoria-upper_version,wallaby-lower_version,wallaby-upper_version,xena-lower_version,xena-upper_version,yoga-lower_version,yoga-upper_version,zed-lower_version,zed-upper_version,antelope-lower_version,antelope-upper_version,bobcat-lower_version,bobcat-upper_version,caracal-lower_version,caracal-upper_version
aodh,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
barbican,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
ceilometer,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
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.0.0,22.0.0,22.0.0,23.0.0,23.0.0,24.0.0,24.0.0,25.0.0
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.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
neutron,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,23.0.0,24.0.0,24.0.0,25.0.0
nova,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,29.0.0,30.0.0
octavia,6.0.0,7.0.0,7.0.0,8.0.0,8.0.0,9.0.0,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
placement,3.0.0,4.0.0,4.0.0,5.0.0,5.0.0,6.0.0,6.0.0,7.0.0,7.0.0,8.0.0,8.0.0,9.0.0,9.0.0,10.0.0,10.0.0,11.0.0,11.0.0,12.0.0
swift,2.24.0,2.26.0,2.26.0,2.27.0,2.27.0,2.28.0,2.28.0,2.29.0,2.29.0,2.30.0,2.30.0,2.31.0,2.31.0,2.32.0,2.32.0,2.33.0,2.33.0,2.34.0
ceph,15.2.0,16.2.0,15.2.0,16.2.0,16.2.0,17.2.0,16.2.0,17.2.0,17.2.0,18.2.0,17.2.0,18.2.0,17.2.0,18.2.0,18.2.0,19.2.0,19.2.0,20.0.0
gnocchi,4.3.0,4.4.0,4.4.0,4.4.1,4.4.0,4.4.1,4.4.1,4.4.2,4.4.1,4.4.2,4.4.2,4.5.0,4.5.0,4.6.0,4.6.0,4.6.1,4.6.0,4.7.0
designate-bind,9.16.1,9.19.0,9.16.1,9.19.0,9.16.1,9.19.0,9.16.1,9.19.0,9.16.1,9.19.0,9.16.1,9.19.0,9.16.1,9.19.0,9.16.1,9.19.0,9.18.18,9.20.0
ovn,20.03,22.09,20.03,22.09,20.12,22.09,21.09,22.09,22.03,22.09,22.09,23.03,23.03,23.09,23.09,24.03,24.03,24.09
mysql,8,9,8,9,8,9,8,9,8,9,8,9,8,9,8,9,8,9
rabbitmq-server,3.8,3.9,3.8,3.9,3.8,3.9,3.8,3.9,3.8,3.10,3.9,3.10,3.9,3.10,3.9,3.10,3.9,3.10
vault,1.7,1.8,1.7,1.8,1.7,1.8,1.7,1.8,1.7,1.9,1.8,1.9,1.8,1.9,1.8,1.9,1.8,1.9
ovn,20.03,22.09,20.03,22.09,20.12,22.09,21.09,22.09,22.03,22.09,22.09,23.03,23.03,23.09,23.09,24.03,24.03,24.09
mysql,8,9,8,9,8,9,8,9,8,9,8,9,8,9,8,9,8,9
rabbitmq-server,3.8,3.9,3.8,3.9,3.8,3.9,3.8,3.9,3.8,3.10,3.9,3.10,3.9,3.10,3.9,3.10,3.9,3.13
vault,1.7,1.8,1.7,1.8,1.7,1.8,1.7,1.8,1.7,1.9,1.8,1.9,1.8,1.9,1.8,1.9,1.8,1.9
54 changes: 54 additions & 0 deletions developing/how-to-update-openstack-upgrade-path.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,60 @@ the debian package `bind9`, and we can use `rmadison bind9` to find all the
versions for charm `designate-bind`. Similarly, for charm `gnocchi`, the
versions can be found using `cmadison gnocchi`.

The list of packages need to be updated are:

```shell
# Install rmadison
apt install devscripts
# Install cmadison
snap install cmadison

# For the following packages, guess an appropriate upper version for the
specific release from the list
rmadison gnocchi
rmadison bind9
rmadison rabbitmq-server

# For example, the upper version for rabbitmq-server in Jammy/2023.2 (Bobcat) is
# 3.9.27, an educated guess for the upper version will be 3.10.

root@enabling-stallion:~# rmadison rabbitmq-server
rabbitmq-server | 3.2.4-1 | trusty | source, all
rabbitmq-server | 3.2.4-1ubuntu0.1 | trusty-security | source, all
rabbitmq-server | 3.2.4-1ubuntu0.1 | trusty-updates | source, all
rabbitmq-server | 3.5.7-1 | xenial | source, all
rabbitmq-server | 3.5.7-1ubuntu0.16.04.2 | xenial-security | source, all
rabbitmq-server | 3.5.7-1ubuntu0.16.04.4 | xenial-updates | source, all
rabbitmq-server | 3.6.10-1 | bionic | source, all
rabbitmq-server | 3.6.10-1ubuntu0.5 | bionic-security | source, all
rabbitmq-server | 3.6.10-1ubuntu0.5 | bionic-updates | source, all
rabbitmq-server | 3.8.2-0ubuntu1~ubuntu18.04.1 | bionic-backports | source, all
rabbitmq-server | 3.8.2-0ubuntu1 | focal | source, all
rabbitmq-server | 3.8.2-0ubuntu1.5 | focal-security | source, all
rabbitmq-server | 3.8.2-0ubuntu1.5 | focal-updates | source, all
rabbitmq-server | 3.8.3-0ubuntu0.1 | focal-proposed | source, all
rabbitmq-server | 3.9.13-1 | jammy | source, all
rabbitmq-server | 3.9.13-1ubuntu0.22.04.2 | jammy-security | source, all
rabbitmq-server | 3.9.13-1ubuntu0.22.04.2 | jammy-updates | source, all
rabbitmq-server | 3.9.27-0ubuntu0.1 | jammy-proposed | source, all
rabbitmq-server | 3.12.1-1ubuntu1 | noble | source, all
rabbitmq-server | 3.12.1-1ubuntu1.1 | noble-proposed | source, all
rabbitmq-server | 3.12.1-1ubuntu2 | oracular | source, all
rabbitmq-server | 3.12.1-1ubuntu2 | plucky | source, all
```

For the following packages, the upper version can be found found in [charm
delivery][5]
- mysql
- vault
- ovn

For `ceph` packages, the upper version can be found found in [ceph release
page][6]
- ceph

The rest of the openstack components are found in [release page][7]

**Note**: Generally, the `upper_version` of the last release is unknown, we
should use educated guess to set the `upper_version` (e.g. based on the past
experience), and create an github issue to track the issue in the future.
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/utils/test_openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_version_range_raises_ValueError(lower, upper):
[
["ussuri", "victoria", "wallaby", "xena", "yoga"],
["yoga", "zed", "antelope", "bobcat", "caracal"],
[],
["caracal"],
],
),
(
Expand Down

0 comments on commit 543fa6a

Please sign in to comment.