mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5737: ignore umount secondary storage failure during backup snapshot
This commit is contained in:
parent
6b7994512d
commit
a8bfb3dd00
|
|
@ -812,8 +812,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