Merge "fup: support evacuate target state"

This commit is contained in:
Zuul 2023-02-18 23:10:53 +00:00 committed by Gerrit Code Review
commit 439c672548
4 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,4 @@
{
"evacuate": {
"targetState": "stopped"
}
}

View File

@ -1,6 +1,5 @@
{
"evacuate": {
"host": "testHost",
"targetState": "stopped"
"host": "testHost"
}
}

View File

@ -1243,5 +1243,6 @@ Name (FQDN).
---------------------
Any evacuated instances will be now stopped at destination. This
requires minimun compute version 27.0.0 (antelope 2023.1). Operators
can still use previous microversion for older behavior.
requires minimun nova release 27.0.0, OpenStack release 2023.1
Antelope. Operators can still use previous microversion for older
behavior.

View File

@ -2517,7 +2517,7 @@ class DuplicateRecord(NovaException):
class NotSupportedComputeForEvacuateV295(NotSupported):
msg_fmt = _("Starting to microversion 2.95, evacuate API will stop "
msg_fmt = _("Starting with microversion 2.95, evacuate API will stop "
"instance on destination. To evacuate before upgrades are "
"complete please use an older microversion. Required version "
"for compute %(expected), current version %(currently)s")