diff --git a/lib/constants.py b/lib/constants.py index 70a9b623a23724a6824023b94cc7f9c618eea92c..c8427ddba6188556635c41c2d2073653052f23ca 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -380,7 +380,6 @@ ST_FILE = "file" ST_LVM_PV = "lvm-pv" ST_LVM_VG = "lvm-vg" ST_RADOS = "rados" -ST_SHARED_FILE = "sharedfile" VALID_STORAGE_TYPES = compat.UniqueFrozenset([ ST_BLOCK, @@ -390,7 +389,6 @@ VALID_STORAGE_TYPES = compat.UniqueFrozenset([ ST_LVM_PV, ST_LVM_VG, ST_RADOS, - ST_SHARED_FILE, ]) # Storage fields @@ -482,7 +480,7 @@ DISK_TEMPLATES_STORAGE_TYPE = { DT_FILE: ST_FILE, DT_PLAIN: ST_LVM_VG, DT_RBD: ST_RADOS, - DT_SHARED_FILE: ST_SHARED_FILE, + DT_SHARED_FILE: ST_FILE, } # the set of network-mirrored disk templates diff --git a/src/Ganeti/Types.hs b/src/Ganeti/Types.hs index 810049a3cdf94d8ea39e8e9f5c1d5f072118a192..ae402952c842d77a57eca43a2a4a338ed83a03dc 100644 --- a/src/Ganeti/Types.hs +++ b/src/Ganeti/Types.hs @@ -303,7 +303,6 @@ $(THH.declareSADT "StorageType" , ("StorageLvmPv", 'C.stLvmPv) , ("StorageLvmVg", 'C.stLvmVg) , ("StorageDiskless", 'C.stDiskless) - , ("StorageSharedFile", 'C.stSharedFile) , ("StorageBlock", 'C.stBlock) , ("StorageRados", 'C.stRados) , ("StorageExt", 'C.stExt)