diff options
author | Pierre Riteau <pierre@stackhpc.com> | 2022-08-01 13:22:05 +0200 |
---|---|---|
committer | Elod Illes <elod.illes@est.tech> | 2022-08-08 21:12:52 +0200 |
commit | fedcd4f6821fba6b69f5dbde9ad3e823dc50a42c (patch) | |
tree | e65cededb3568024557969522045a30853df8186 | |
parent | 4eaceeec4d0c7a37cfed1194d02a403c057d0af3 (diff) | |
download | nova-fedcd4f6821fba6b69f5dbde9ad3e823dc50a42c.tar.gz |
[stable-only] Allow Train compute hosts to register with Ussuri
The RPC version check in Ussuri should allow Train hosts. Use version 38
to identify them (next one after Stein which uses version 37).
NOTE(elod.illes): this is a stable only fix as this bug was introduced
in stable/ussrui with bug fix [1] as OLDEST_SUPPORTED_SERVICE_VERSION
variable was not adjusted to the target branch.
[1] https://review.opendev.org/c/openstack/nova/+/770764
Change-Id: Ieb821cb6efb3822974ad299839009e1ea8ab8db8
Closes-Bug: #1983263
-rw-r--r-- | nova/objects/service.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/objects/service.py b/nova/objects/service.py index 3007548858..abfb91c413 100644 --- a/nova/objects/service.py +++ b/nova/objects/service.py @@ -189,9 +189,9 @@ SERVICE_VERSION_HISTORY = ( # This is used to raise an error at service startup if older than N-1 computes # are detected. Update this at the beginning of every release cycle -OLDEST_SUPPORTED_SERVICE_VERSION = 'Ussuri' +OLDEST_SUPPORTED_SERVICE_VERSION = 'Train' SERVICE_VERSION_ALIASES = { - 'Ussuri': 41 + 'Train': 38 } |