def delete(self, name): try: fs_utils._umount_partition(name) fs_utils.remove_persist(name) except OperationFailed as e: raise OperationFailed("GINFS00002E", {'name': name, 'err': e.message})
def delete(self, name): try: fs_utils._umount_partition(name) fs_utils.remove_persist(name) except OperationFailed as e: wok_log.error("Unmounting filesystem %s" " failed." % name) raise OperationFailed("GINFS00002E", {'err': e})
def delete(self, name): try: fs_utils._umount_partition(name) fs_utils.remove_persist(name) except OperationFailed as e: raise OperationFailed("GINFS00002E", { 'name': name, 'err': e.message })