summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-02-28 16:09:45 +0000
committerGerrit Code Review <review@openstack.org>2012-02-28 16:09:45 +0000
commit5b9fc411db9c7781e16da170ab2837b009d6aae6 (patch)
tree31e6b1601ad5552a11c22e114363906181d63bc8 /nova/exception.py
parent6f1eb773befe81a22bb9e2d4da87cd1da598f96e (diff)
parent44067ba758b378c4c2c2ff88b0d1b7a3c27ac812 (diff)
downloadnova-5b9fc411db9c7781e16da170ab2837b009d6aae6.tar.gz
nova-5b9fc411db9c7781e16da170ab2837b009d6aae6.tar.xz
nova-5b9fc411db9c7781e16da170ab2837b009d6aae6.zip
Merge "Call detach_volume when attach fails"
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/exception.py b/nova/exception.py
index 668617500..e1caf28fe 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -362,6 +362,10 @@ class InvalidDevicePath(Invalid):
message = _("The supplied device path (%(path)s) is invalid.")
+class DeviceIsBusy(Invalid):
+ message = _("The supplied device (%(device)s) is busy.")
+
+
class InvalidCPUInfo(Invalid):
message = _("Unacceptable CPU info") + ": %(reason)s"