It is possible for the version of a package to remain the same
across multiple releases of openstack so this adds support to
get_os_codename_package() to allow this.
If releases A, B and C have version N and we are on release B
this will return release C so that it does not look like there
is an upgrade necessary. The main change here that allows this
is to support matching major and minor version up to X.Y.Z as
opposed to previously only matching the major version X.
Related-Bug: #1973303
Change-Id: I138f61312efb728544276483b1a459b9eeecafdb
(cherry picked from commit 55f98e80e430b1112c38b90d88e10bd0923daa6f)
Reviewed: https:/ /review. opendev. org/c/openstack /charms. openstack/ +/920176 /opendev. org/openstack/ charms. openstack/ commit/ 56c5a5945946fe4 ea045b70ed4ee5f 8a1edd9958
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 56c5a5945946fe4 ea045b70ed4ee5f 8a1edd9958
Author: Edward Hope-Morley <email address hidden>
Date: Tue Apr 23 14:47:08 2024 +0100
Support same pkg version for multiple releases
It is possible for the version of a package to remain the same os_codename_ package( ) to allow this.
across multiple releases of openstack so this adds support to
get_
If releases A, B and C have version N and we are on release B
this will return release C so that it does not look like there
is an upgrade necessary. The main change here that allows this
is to support matching major and minor version up to X.Y.Z as
opposed to previously only matching the major version X.
Related-Bug: #1973303
Change-Id: I138f61312efb72 8544276483b1a45 9b9eeecafdb 12c38b90d88e10b d0923daa6f)
(cherry picked from commit 55f98e80e430b11