summaryrefslogtreecommitdiff
path: root/nova
diff options
context:
space:
mode:
authorSylvain Bauza <sbauza@redhat.com>2023-02-23 16:31:00 +0100
committerSylvain Bauza <sbauza@redhat.com>2023-03-02 12:16:42 +0100
commit349100eecc67c51f9d770ccb4fdec0e28e0dc909 (patch)
tree5b5dbb59c322660eadda090c437c2fabf50fd9a7 /nova
parentd443f8e4c4f12cdca947e36b443db5d8a230926e (diff)
downloadnova-349100eecc67c51f9d770ccb4fdec0e28e0dc909.tar.gz
Add service version for Antelope
Also did a bit of cleanup in the text message to tell *when* we need to bump the min service version. Given 2023.1 is our first SLURP release, we need to clarify the level of support we now have for rolling upgrades. Next cycle, we should update the min version to be Zed. Change-Id: I2dd906f34118da02783bb7755e0d6c2a2b88eb5d
Diffstat (limited to 'nova')
-rw-r--r--nova/objects/service.py21
1 files changed, 18 insertions, 3 deletions
diff --git a/nova/objects/service.py b/nova/objects/service.py
index 0ed443ef17..b17b5c2050 100644
--- a/nova/objects/service.py
+++ b/nova/objects/service.py
@@ -237,15 +237,30 @@ SERVICE_VERSION_HISTORY = (
# local node identity for single-node systems.
NODE_IDENTITY_VERSION = 65
-# 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 to point to
-# the smallest service version that was added in N-1.
+# This is used to raise an error at service startup if older than supported
+# computes are detected.
+# NOTE(sbauza) : Please modify it this way :
+# * At the beginning of a non-SLURP release (eg. 2023.2 Bobcat) (or just after
+# the previous SLURP release RC1, like 2023.1 Antelope), please bump
+# OLDEST_SUPPORTED_SERVICE_VERSION to the previous SLURP release (in that
+# example, Antelope)
+# * At the beginning of a SLURP release (eg. 2024.1 C) (or just after the
+# previous non-SLURP release RC1, like 2023.2 Bobcat), please keep the
+# OLDEST_SUPPORTED_SERVICE_VERSION value using the previous SLURP release
+# (in that example, Antelope)
+# * At the end of any release (SLURP or non-SLURP), please modify
+# SERVICE_VERSION_ALIASES to add a key/value with key being the release name
+# and value be the latest service version that the release supports (for
+# example, before Bobcat RC1, please add 'Bobcat': XX where X is the latest
+# servion version that was added)
OLDEST_SUPPORTED_SERVICE_VERSION = 'Yoga'
SERVICE_VERSION_ALIASES = {
'Victoria': 52,
'Wallaby': 54,
'Xena': 57,
'Yoga': 61,
+ 'Zed': 64,
+ 'Antelope': 66,
}