diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-02-28 16:09:45 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-02-28 16:09:45 +0000 |
| commit | 5b9fc411db9c7781e16da170ab2837b009d6aae6 (patch) | |
| tree | 31e6b1601ad5552a11c22e114363906181d63bc8 /nova/exception.py | |
| parent | 6f1eb773befe81a22bb9e2d4da87cd1da598f96e (diff) | |
| parent | 44067ba758b378c4c2c2ff88b0d1b7a3c27ac812 (diff) | |
| download | nova-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.py | 4 |
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" |
