summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index b3b3d1f1f..de922f50e 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -244,6 +244,12 @@ class VolumeUnattached(Invalid):
message = _("Volume %(volume_id)s is not attached to anything")
+class VolumeNotCreated(NovaException):
+ message = _("Volume %(volume_id)s did not finish being created"
+ " even after we waited %(seconds)s seconds or %(attempts)s"
+ " attempts.")
+
+
class InvalidKeypair(Invalid):
message = _("Keypair data is invalid")