summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-04-03 14:01:17 +0000
committerGerrit Code Review <review@openstack.org>2013-04-03 14:01:17 +0000
commitf7add7ea8cd2eb1c0cf1b148c53833fc4f85de33 (patch)
tree096f5787f1b8e7dfca9b4a946bf75220fa88acad /nova/exception.py
parent1d5b10ea7697f94e8eb72b61c599b12f9952a055 (diff)
parent24aacd2c91c73245d444a2460ded1c5c94382f5f (diff)
downloadnova-f7add7ea8cd2eb1c0cf1b148c53833fc4f85de33.tar.gz
nova-f7add7ea8cd2eb1c0cf1b148c53833fc4f85de33.tar.xz
nova-f7add7ea8cd2eb1c0cf1b148c53833fc4f85de33.zip
Merge "Limit the checks for block device becoming available."
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")