summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Riteau <pierre@stackhpc.com>2022-08-01 13:22:05 +0200
committerElod Illes <elod.illes@est.tech>2022-08-08 21:12:52 +0200
commitfedcd4f6821fba6b69f5dbde9ad3e823dc50a42c (patch)
treee65cededb3568024557969522045a30853df8186
parent4eaceeec4d0c7a37cfed1194d02a403c057d0af3 (diff)
downloadnova-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.py4
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
}