Exemplo n.º 1
0
 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})
Exemplo n.º 2
0
 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})
Exemplo n.º 3
0
 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})
Exemplo n.º 4
0
 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
         })