Merge "Add exception SnapshotIsBusy to be handled as VolumeIsBusy."

This commit is contained in:
Jenkins
2012-02-22 19:07:20 +00:00
committed by Gerrit Code Review
2 changed files with 47 additions and 0 deletions

View File

@@ -451,6 +451,11 @@ class VolumeIsBusy(NovaException):
message = _("deleting volume %(volume_name)s that has snapshot")
class SnapshotIsBusy(NovaException):
message = _("deleting snapshot %(snapshot_name)s that has "
"dependent volumes")
class ISCSITargetNotFoundForVolume(NotFound):
message = _("No target id found for volume %(volume_id)s.")