Github user sateesh-chodapuneedi commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/977#discussion_r42966399 --- Diff: engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java --- @@ -1702,6 +1705,18 @@ protected boolean checkVmOnHost(final VirtualMachine vm, final long hostId) thro } } + UserVmVO userVm = _userVmDao.findById(vm.getId()); + if (userVm != null) { + List<VMSnapshotVO> vmSnapshots = _vmSnapshotDao.findByVm(vm.getId()); + RestoreVMSnapshotCommand command = _vmSnapshotMgr.createRestoreCommand(userVm, vmSnapshots); + if (command != null) { + RestoreVMSnapshotAnswer restoreVMSnapshotAnswer = (RestoreVMSnapshotAnswer) _agentMgr.send(hostId, command); + if (restoreVMSnapshotAnswer == null || !restoreVMSnapshotAnswer.getResult()) { + s_logger.warn("Unable to restore the vm snapshot from image file after migration to the VM: " + restoreVMSnapshotAnswer.getDetails()); --- End diff -- What is the migration (type?) mentioned in this log message? Can you please elaborate this a bit?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---