sureshanaparti commented on a change in pull request #5333:
URL: https://github.com/apache/cloudstack/pull/5333#discussion_r697161011
##########
File path:
plugins/hypervisors/vmware/src/main/java/com/cloud/storage/resource/VmwareStorageProcessor.java
##########
@@ -1848,14 +1848,15 @@ public Answer createTemplateFromSnapshot(CopyCommand
cmd) {
s_logger.error(msg);
throw new Exception(msg);
}
+ s_logger.debug(String.format("Cloned VM: %s as %s",
vmMo.getName(), clonedVm.getName()));
vmMo = clonedVm;
}
vmMo.exportVm(exportPath, exportName, false, false);
return new Pair<>(diskDevice, disks);
} finally {
if (clonedVm != null) {
- clonedVm.detachAllDisks();
+ s_logger.debug(String.format("Destroying cloned VM: %s with
its disks", clonedVm.getName()));
Review comment:
+1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]