Add support for microversion 2.65
There are no functional changes for this, just bumping the supported client-side version and updating docs. Depends-On: https://review.openstack.org/573136/ Part of blueprint abort-live-migration-in-queued-status Change-Id: Ie0777dbe4d82892ec75b353f6b13ee2d2c5db72c
This commit is contained in:
parent
6c398058a6
commit
0b1e1bb7ce
@ -2321,6 +2321,10 @@ Abort an on-going live migration. (Supported by API versions '2.24' -
|
|||||||
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
|
'2.latest') [hint: use '--os-compute-api-version' flag to show help message
|
||||||
for proper version]
|
for proper version]
|
||||||
|
|
||||||
|
For microversions from 2.24 to 2.64 the migration status must be ``running``;
|
||||||
|
for microversion 2.65 and greater, the migration status can also be ``queued``
|
||||||
|
and ``preparing``.
|
||||||
|
|
||||||
**Positional arguments:**
|
**Positional arguments:**
|
||||||
|
|
||||||
``<server>``
|
``<server>``
|
||||||
|
@ -25,4 +25,4 @@ API_MIN_VERSION = api_versions.APIVersion("2.1")
|
|||||||
# when client supported the max version, and bumped sequentially, otherwise
|
# when client supported the max version, and bumped sequentially, otherwise
|
||||||
# the client may break due to server side new version may include some
|
# the client may break due to server side new version may include some
|
||||||
# backward incompatible change.
|
# backward incompatible change.
|
||||||
API_MAX_VERSION = api_versions.APIVersion("2.64")
|
API_MAX_VERSION = api_versions.APIVersion("2.65")
|
||||||
|
@ -3842,6 +3842,7 @@ class ShellTest(utils.TestCase):
|
|||||||
61, # There are no version-wrapped shell method changes for this.
|
61, # There are no version-wrapped shell method changes for this.
|
||||||
62, # There are no version-wrapped shell method changes for this.
|
62, # There are no version-wrapped shell method changes for this.
|
||||||
63, # There are no version-wrapped shell method changes for this.
|
63, # There are no version-wrapped shell method changes for this.
|
||||||
|
65, # There are no version-wrapped shell method changes for this.
|
||||||
])
|
])
|
||||||
versions_supported = set(range(0,
|
versions_supported = set(range(0,
|
||||||
novaclient.API_MAX_VERSION.ver_minor + 1))
|
novaclient.API_MAX_VERSION.ver_minor + 1))
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Support has been added for the compute API `2.65`_ microversion. This
|
||||||
|
allows calling ``nova live-migration-abort`` on live migrations that are
|
||||||
|
in ``queued`` or ``preparing`` status in addition to the already accepted
|
||||||
|
``running`` status.
|
||||||
|
|
||||||
|
.. _2.65: https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id59
|
Loading…
x
Reference in New Issue
Block a user