From 2dc39e83d0b4eee35c97df147464da98aec39e15 Mon Sep 17 00:00:00 2001 From: "Walter A. Boring IV" Date: Tue, 17 Feb 2015 16:59:07 -0800 Subject: [PATCH] Remove some unused exceptions from Cinder This patch removes some unused exceptions that came along with the export from Cinder. Since os-brick doesn't include target side code, we remove the target associated exceptions. Change-Id: I0096e76f958e04829b98d5c4c47f49c82b58d8aa --- os_brick/exception.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/os_brick/exception.py b/os_brick/exception.py index 76023fb7c..22083d438 100644 --- a/os_brick/exception.py +++ b/os_brick/exception.py @@ -96,25 +96,5 @@ class VolumeDeviceNotFound(BrickException): message = _("Volume device not found at %(device)s.") -class VolumeGroupNotFound(BrickException): - message = _('Unable to find Volume Group: %(vg_name)s') - - -class VolumeGroupCreationFailed(BrickException): - message = _('Failed to create Volume Group: %(vg_name)s') - - -class ISCSITargetCreateFailed(BrickException): - message = _("Failed to create iscsi target for volume %(volume_id)s.") - - -class ISCSITargetRemoveFailed(BrickException): - message = _("Failed to remove iscsi target for volume %(volume_id)s.") - - -class ISCSITargetAttachFailed(BrickException): - message = _("Failed to attach iSCSI target for volume %(volume_id)s.") - - class ProtocolNotSupported(BrickException): message = _("Connect to volume via protocol %(protocol)s not supported.")