JoaoJandre commented on code in PR #7214:
URL: https://github.com/apache/cloudstack/pull/7214#discussion_r1165434576
##########
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java:
##########
@@ -1058,10 +1061,7 @@ public void orchestrateStart(final String vmUuid, final
Map<VirtualMachineProfil
DataCenterDeployment plan = new
DataCenterDeployment(vm.getDataCenterId(), vm.getPodIdToDeployIn(), null, null,
null, null, ctx);
if (planToDeploy != null && planToDeploy.getDataCenterId() != 0) {
- if (s_logger.isDebugEnabled()) {
- s_logger.debug("advanceStart: DeploymentPlan is provided,
using dcId:" + planToDeploy.getDataCenterId() + ", podId: " +
planToDeploy.getPodId() +
- ", clusterId: " + planToDeploy.getClusterId() + ",
hostId: " + planToDeploy.getHostId() + ", poolId: " + planToDeploy.getPoolId());
- }
+
s_logger.debug(DeploymentPlanningManagerImpl.logDeploymentWithoutException((VirtualMachine)
vm, planToDeploy, planToDeploy.getAvoids(), (DeploymentPlanner) plan));
Review Comment:
While testing, I found that this line causes a
`java.lang.ClassCastException: class com.cloud.deploy.DataCenterDeployment
cannot be cast to class com.cloud.deploy.DeploymentPlanner`.
--
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]