summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/exception.py b/nova/exception.py
index e7f54071e..ffd426dea 100644
--- a/nova/exception.py
+++ b/nova/exception.py
@@ -394,10 +394,6 @@ class VolumeIsBusy(Error):
message = _("deleting volume %(volume_name)s that has snapshot")
-class ExportDeviceNotFoundForVolume(NotFound):
- message = _("No export device found for volume %(volume_id)s.")
-
-
class ISCSITargetNotFoundForVolume(NotFound):
message = _("No target id found for volume %(volume_id)s.")
@@ -406,6 +402,10 @@ class DiskNotFound(NotFound):
message = _("No disk at %(location)s")
+class VolumeDriverNotFound(NotFound):
+ message = _("Could not find a handler for %(driver_type)s volume.")
+
+
class InvalidImageRef(Invalid):
message = _("Invalid image href %(image_href)s.")