summaryrefslogtreecommitdiff
path: root/nova/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 2c4bd77d34..20c112b628 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -2510,3 +2510,10 @@ class ReimageException(NovaException):
class InvalidNodeConfiguration(NovaException):
msg_fmt = _('Invalid node identity configuration: %(reason)s')
+
+
+class NotSupportedComputeForEvacuateV295(NotSupported):
+ msg_fmt = _("Starting to 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")