sureshanaparti commented on code in PR #7214:
URL: https://github.com/apache/cloudstack/pull/7214#discussion_r1593867688
##########
server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java:
##########
@@ -613,6 +453,208 @@ public DeployDestination
planDeployment(VirtualMachineProfile vmProfile, Deploym
return dest;
}
+ private DeployDestination deployInVmLastHost(VirtualMachineProfile
vmProfile, DeploymentPlan plan, ExcludeList avoids,
+ DeploymentPlanner planner, VirtualMachine vm, DataCenter dc,
ServiceOffering offering, int cpuRequested, long ramRequested,
+ boolean volumesRequireEncryption) throws
InsufficientServerCapacityException {
+ HostVO host = _hostDao.findById(vm.getLastHostId());
+ _hostDao.loadHostTags(host);
+ _hostDao.loadDetails(host);
Review Comment:
@weizhouapache this needs to be fixed for
https://github.com/apache/cloudstack/issues/9033, in main/4.20
--
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]