weizhouapache commented on code in PR #14460:
URL: https://github.com/apache/cloudstack/pull/14460#discussion_r4348235314
##########
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java:
##########
@@ -5456,6 +5457,20 @@ private void
handlePowerOnReportWithNoPendingJobsOnVM(final VMInstanceVO vm) {
}
}
+ private void reconcileNicsForRunningVm(final VMInstanceVO vm) {
+ final VMInstanceVO runningVm = _vmDao.findById(vm.getId());
+ if (runningVm == null || runningVm.getType() !=
VirtualMachine.Type.User || runningVm.getState() != State.Running ||
runningVm.getHostId() == null
Review Comment:
that's true indeed
--
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]