From 94d3445e10711ff965e0ec141aaa0d0828dc43f0 Mon Sep 17 00:00:00 2001 From: whoami-rajat Date: Mon, 31 Jan 2022 23:54:27 +0530 Subject: MV 2.93 - Add support to rebuild boot volume This patch bumps the API microversion to 2.93 to allow rebuilding a volume backed instance. Implements: blueprint volume-backed-server-rebuild Depends-On: https://review.opendev.org/c/openstack/nova/+/830883 Change-Id: Ie46df7ad76082e7631bb26243abed4dc3b1f40ac --- novaclient/__init__.py | 2 +- novaclient/tests/unit/v2/test_shell.py | 1 + .../add-support-for-volume-backed-rebuild-6a32d9d88fed6b4a.yaml | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/add-support-for-volume-backed-rebuild-6a32d9d88fed6b4a.yaml diff --git a/novaclient/__init__.py b/novaclient/__init__.py index afffde0f..2a89e338 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.92") +API_MAX_VERSION = api_versions.APIVersion("2.93") diff --git a/novaclient/tests/unit/v2/test_shell.py b/novaclient/tests/unit/v2/test_shell.py index da70e3cc..84f4fcdc 100644 --- a/novaclient/tests/unit/v2/test_shell.py +++ b/novaclient/tests/unit/v2/test_shell.py @@ -4699,6 +4699,7 @@ class ShellTest(utils.TestCase): 86, # doesn't require any changes in novaclient. 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. ]) versions_supported = set(range(0, novaclient.API_MAX_VERSION.ver_minor + 1)) diff --git a/releasenotes/notes/add-support-for-volume-backed-rebuild-6a32d9d88fed6b4a.yaml b/releasenotes/notes/add-support-for-volume-backed-rebuild-6a32d9d88fed6b4a.yaml new file mode 100644 index 00000000..b9e2054e --- /dev/null +++ b/releasenotes/notes/add-support-for-volume-backed-rebuild-6a32d9d88fed6b4a.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + Added support for `microversion 2.93`_. + This microversion provides the ability to rebuild a volume + backed instance. + + .. _microversion 2.93: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#microversion-2-93 -- cgit v1.2.1