From 85e4f08309490fa2ab6f0b581b3d645d2dbb5c4b Mon Sep 17 00:00:00 2001 From: Artom Lifshitz Date: Wed, 1 Feb 2023 10:08:52 -0500 Subject: Bump microversion to 2.95 There are no client-side changes for either 2.94 or 2.95, so just do the bump and add release notes. Change-Id: I8c2bfd48526840fc618820b9ae6a12dc98cdef45 --- novaclient/__init__.py | 2 +- novaclient/tests/unit/v2/test_shell.py | 2 ++ releasenotes/notes/microversion-v2_94-5368d5dd7c5f6484.yaml | 11 +++++++++++ releasenotes/notes/microversion-v2_95-3c6ad46be2656684.yaml | 10 ++++++++++ 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/microversion-v2_94-5368d5dd7c5f6484.yaml create mode 100644 releasenotes/notes/microversion-v2_95-3c6ad46be2656684.yaml diff --git a/novaclient/__init__.py b/novaclient/__init__.py index 2a89e338..de4417d6 100644 --- a/novaclient/__init__.py +++ b/novaclient/__init__.py @@ -25,4 +25,4 @@ API_MIN_VERSION = api_versions.APIVersion("2.1") # when client supported the max version, and bumped sequentially, otherwise # the client may break due to server side new version may include some # backward incompatible change. -API_MAX_VERSION = api_versions.APIVersion("2.93") +API_MAX_VERSION = api_versions.APIVersion("2.95") diff --git a/novaclient/tests/unit/v2/test_shell.py b/novaclient/tests/unit/v2/test_shell.py index 84f4fcdc..52738632 100644 --- a/novaclient/tests/unit/v2/test_shell.py +++ b/novaclient/tests/unit/v2/test_shell.py @@ -4700,6 +4700,8 @@ class ShellTest(utils.TestCase): 87, # doesn't require any changes in novaclient. 89, # There are no version-wrapped shell method changes for this. 93, # There are no version-wrapped shell method changes for this. + 94, # There are no version-wrapped shell method changes for this. + 95, # There are no version-wrapped shell method changes for this. ]) versions_supported = set(range(0, novaclient.API_MAX_VERSION.ver_minor + 1)) diff --git a/releasenotes/notes/microversion-v2_94-5368d5dd7c5f6484.yaml b/releasenotes/notes/microversion-v2_94-5368d5dd7c5f6484.yaml new file mode 100644 index 00000000..587969dd --- /dev/null +++ b/releasenotes/notes/microversion-v2_94-5368d5dd7c5f6484.yaml @@ -0,0 +1,11 @@ +--- +features: + - | + Added support for `microversion 2.94`_. There are no client-side changes + for this microversion, but sending this microversion allows the + ``hostname`` parameter in the server create, server update, and server + rebuild APIs to be a fully qualified domain name (FQDN). Prior to this + microversion, server-side validation only allows short names as the + ``hostname``. + + .. _microversion 2.94: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id83 diff --git a/releasenotes/notes/microversion-v2_95-3c6ad46be2656684.yaml b/releasenotes/notes/microversion-v2_95-3c6ad46be2656684.yaml new file mode 100644 index 00000000..3452f926 --- /dev/null +++ b/releasenotes/notes/microversion-v2_95-3c6ad46be2656684.yaml @@ -0,0 +1,10 @@ +--- +features: + - | + Added support for `microversion 2.95`_. There are no client-side changes + for this microversion, but sending this microversion triggers evacuated + instances to be stopped on the destination host. Prior to this + microversion, instances were keeping their state from source to + destination host. + + .. _microversion 2.95: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id84 -- cgit v1.2.1