275276277278279280281282283284285
} finally { if (task != null) { try { task.destroy(conn); } catch (Exception e) { s_logger.debug("unable to destroy task (" + task.toWireString() + ") due to " + e.toString()); } } if (srcSr != null) { hypervisorResource.removeSR(conn, srcSr);
323324325326327328329330331332333
} finally { if (task != null) { try { task.destroy(conn); } catch (Exception e) { s_logger.warn("unable to destroy task(" + task.toWireString() + ") due to " + e.toString()); } } } String backupUuid = dvdi.getUuid(conn); return backupUuid;
467468469470471472473474475476477
} finally { if (task != null) { try { task.destroy(conn); } catch (Exception e) { s_logger.warn("unable to destroy task(" + task.toWireString() + ") due to " + e.toString()); } } if( snapshotSr != null) { hypervisorResource.removeSR(conn, snapshotSr); }
595596597598599600601602603604605
} finally { if (task != null) { try { task.destroy(conn); } catch (Exception e) { s_logger.warn("unable to destroy task(" + task.toWireString() + ") due to " + e.toString()); } } } return new CopyCmdAnswer(details); }
757758759760761762763764765766767
} finally { if (task != null) { try { task.destroy(conn); } catch (Exception e) { s_logger.warn("unable to destroy task(" + task.toWireString() + ") due to " + e.toString()); } } hypervisorResource.removeSR(conn, secondaryStorage); } }