mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5737: ignore umount secondary storage failure during backup snapshot
This commit is contained in:
parent
07ad69cebf
commit
2795c4ecfb
|
|
@ -803,8 +803,13 @@ public class KVMStorageProcessor implements StorageProcessor {
|
|||
} catch (Exception ex) {
|
||||
s_logger.debug("Failed to delete snapshots on primary", ex);
|
||||
}
|
||||
if (secondaryStoragePool != null) {
|
||||
secondaryStoragePool.delete();
|
||||
|
||||
try {
|
||||
if (secondaryStoragePool != null) {
|
||||
secondaryStoragePool.delete();
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
s_logger.debug("Failed to delete secondary storage", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue