GabrielBrascher commented on a change in pull request #4212: URL: https://github.com/apache/cloudstack/pull/4212#discussion_r462954509
########## File path: server/src/main/java/com/cloud/vm/UserVmManagerImpl.java ########## @@ -5619,7 +5619,7 @@ public VirtualMachine migrateVirtualMachine(Long vmId, Host destinationHost) thr throw new InvalidParameterValueException("Unsupported Hypervisor Type for User VM migration, we support XenServer/VMware/KVM/Ovm/Hyperv/Ovm3 only"); } - if (isVMUsingLocalStorage(vm)) { + if (isVMUsingLocalStorage(vm.getId())) { if (s_logger.isDebugEnabled()) { s_logger.debug(vm + " is using Local Storage, cannot migrate this VM."); Review comment: @DaanHoogland your €0,03 is very appreciated ;) I will change the log level from debug to error (maybe warn, but it looks more like an error). ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org