Skip to content

Commit 439c672

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "fup: support evacuate target state"
2 parents 6ec6f14 + 1d707a7 commit 439c672

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
@@ -2517,7 +2517,7 @@ class DuplicateRecord(NovaException):
25172517

25182518

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

0 commit comments

Comments
 (0)