]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/ceph-volume/ceph_volume/exceptions.py
import 15.2.5
[ceph.git] / ceph / src / ceph-volume / ceph_volume / exceptions.py
index f40b7b11d37a9811a94ea2bc64cb9a8a0a717429..5c6429483f8a9f09d10adbc772620ab89316142b 100644 (file)
@@ -50,37 +50,6 @@ class SuperUserError(Exception):
         return 'This command needs to be executed with sudo or as root'
 
 
-class MultiplePVsError(Exception):
-
-    def __init__(self, pv_name):
-        self.pv_name = pv_name
-
-    def __str__(self):
-        msg = "Got more than 1 result looking for physical volume: %s" % self.pv_name
-        return msg
-
-
-class MultipleLVsError(Exception):
-
-    def __init__(self, lv_name, lv_path):
-        self.lv_name = lv_name
-        self.lv_path = lv_path
-
-    def __str__(self):
-        msg = "Got more than 1 result looking for %s with path: %s" % (self.lv_name, self.lv_path)
-        return msg
-
-
-class MultipleVGsError(Exception):
-
-    def __init__(self, vg_name):
-        self.vg_name = vg_name
-
-    def __str__(self):
-        msg = "Got more than 1 result looking for volume group: %s" % self.vg_name
-        return msg
-
-
 class SizeAllocationError(Exception):
 
     def __init__(self, requested, available):