fup: support evacuate target state

This fix minors comments that have been noticed.

Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>
Change-Id: Iee6c224aa0f26d8550b38a8f69b28d8648b1da70
This commit is contained in:
Sahid Orentino Ferdjaoui 2023-02-01 13:12:59 +01:00
parent 72370a188c
commit 1d707a72fc
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

@ -2513,7 +2513,7 @@ class InvalidNodeConfiguration(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")