Skip to content

Commit 1d707a7

Browse files
committed
fup: support evacuate target state
This fix minors comments that have been noticed. Signed-off-by: Sahid Orentino Ferdjaoui <[email protected]> Change-Id: Iee6c224aa0f26d8550b38a8f69b28d8648b1da70
1 parent 72370a1 commit 1d707a7

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"evacuate": {
3-
"targetState": "stopped"
43
}
54
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"evacuate": {
3-
"host": "testHost",
4-
"targetState": "stopped"
3+
"host": "testHost"
54
}
65
}

nova/api/openstack/compute/rest_api_version_history.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,5 +1243,6 @@ Name (FQDN).
12431243
---------------------
12441244

12451245
Any evacuated instances will be now stopped at destination. This
1246-
requires minimun compute version 27.0.0 (antelope 2023.1). Operators
1247-
can still use previous microversion for older behavior.
1246+
requires minimun nova release 27.0.0, OpenStack release 2023.1
1247+
Antelope. Operators can still use previous microversion for older
1248+
behavior.

nova/exception.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2513,7 +2513,7 @@ class InvalidNodeConfiguration(NovaException):
25132513

25142514

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

0 commit comments

Comments
 (0)