CLOUDSTACK-5737: ignore umount secondary storage failure during backup snapshot

This commit is contained in:
edison 2014-01-03 12:59:54 -08:00 committed by Edison Su
parent 24d1f161b8
commit 04220daf4c
1 changed files with 7 additions and 2 deletions

View File

@ -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);
}
}
}