Skip to content

Commit 59f7a52

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Add service version for Antelope"
2 parents ad84a52 + 349100e commit 59f7a52

File tree

2 files changed

+31
-10
lines changed

2 files changed

+31
-10
lines changed

doc/source/admin/upgrades.rst

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,27 @@ Rolling upgrade process
4141
To reduce downtime, the compute services can be upgraded in a rolling fashion.
4242
It means upgrading a few services at a time. This results in a condition where
4343
both old (N) and new (N+1) nova-compute services co-exist for a certain time
44-
period. Note that, there is no upgrade of the hypervisor here, this is just
44+
period (or even N with N+2 upgraded nova-compute services, see below).
45+
Note that, there is no upgrade of the hypervisor here, this is just
4546
upgrading the nova services. If reduced downtime is not a concern (or lower
4647
complexity is desired), all services may be taken down and restarted at the
4748
same time.
4849

4950
.. important::
5051

51-
Nova does not currently support the coexistence of N and N+2 or greater
52-
:program:`nova-compute` or :program:`nova-conductor` services in the same
53-
deployment. The `nova-conductor`` service will fail to start when a
54-
``nova-compute`` service that is older than the previous release (N-2 or
55-
greater) is detected. Similarly, in a :doc:`deployment with multiple cells
52+
As of OpenStack 2023.1 (Antelope), Nova supports the coexistence of N and
53+
N-2 (Yoga) :program:`nova-compute` or :program:`nova-conductor` services in
54+
the same deployment. The `nova-conductor`` service will fail to start when
55+
a ``nova-compute`` service that is older than the support envelope is
56+
detected. This varies by release and the support envelope will be explained
57+
in the release notes. Similarly, in a :doc:`deployment with multiple cells
5658
</admin/cells>`, neither the super conductor service nor any per-cell
5759
conductor service will start if any other conductor service in the
58-
deployment is older than the previous release.
60+
deployment is older than the N-2 release.
61+
62+
Releases older than 2023.1 will only support rolling upgrades for a single
63+
release difference between :program:`nova-compute` and
64+
:program:`nova-conductor` services.
5965

6066
#. Before maintenance window:
6167

nova/objects/service.py

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,30 @@
237237
# local node identity for single-node systems.
238238
NODE_IDENTITY_VERSION = 65
239239

240-
# This is used to raise an error at service startup if older than N-1 computes
241-
# are detected. Update this at the beginning of every release cycle to point to
242-
# the smallest service version that was added in N-1.
240+
# This is used to raise an error at service startup if older than supported
241+
# computes are detected.
242+
# NOTE(sbauza) : Please modify it this way :
243+
# * At the beginning of a non-SLURP release (eg. 2023.2 Bobcat) (or just after
244+
# the previous SLURP release RC1, like 2023.1 Antelope), please bump
245+
# OLDEST_SUPPORTED_SERVICE_VERSION to the previous SLURP release (in that
246+
# example, Antelope)
247+
# * At the beginning of a SLURP release (eg. 2024.1 C) (or just after the
248+
# previous non-SLURP release RC1, like 2023.2 Bobcat), please keep the
249+
# OLDEST_SUPPORTED_SERVICE_VERSION value using the previous SLURP release
250+
# (in that example, Antelope)
251+
# * At the end of any release (SLURP or non-SLURP), please modify
252+
# SERVICE_VERSION_ALIASES to add a key/value with key being the release name
253+
# and value be the latest service version that the release supports (for
254+
# example, before Bobcat RC1, please add 'Bobcat': XX where X is the latest
255+
# servion version that was added)
243256
OLDEST_SUPPORTED_SERVICE_VERSION = 'Yoga'
244257
SERVICE_VERSION_ALIASES = {
245258
'Victoria': 52,
246259
'Wallaby': 54,
247260
'Xena': 57,
248261
'Yoga': 61,
262+
'Zed': 64,
263+
'Antelope': 66,
249264
}
250265

251266

0 commit comments

Comments
 (0)