sureshanaparti commented on a change in pull request #5859:
URL: https://github.com/apache/cloudstack/pull/5859#discussion_r799156517
##########
File path:
server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java
##########
@@ -754,9 +754,17 @@ public void
checkForNonDedicatedResources(VirtualMachineProfile vmProfile, DataC
//Only when the type is instance VM and not explicitly dedicated.
if (vm.getType() == VirtualMachine.Type.User && !isExplicit) {
//add explicitly dedicated resources in avoidList
-
+ if (s_logger.isDebugEnabled()) {
+ s_logger.debug("Adding pods to avoid lists for non-explicit VM
deployment: " + allPodsInDc);
+ }
avoids.addPodList(allPodsInDc);
+ if (s_logger.isDebugEnabled()) {
+ s_logger.debug("adding clusters to avoid lists for non-exlicit
vm deployment: " + allClustersInDc);
+ }
avoids.addClusterList(allClustersInDc);
+ if (s_logger.isDebugEnabled()) {
+ s_logger.debug("adding hosts to avoid lists for non-exlicit vm
deployment: " + allHostsInDc);
Review comment:
```suggestion
s_logger.debug("Adding hosts to avoid lists for non-explicit
VM deployment: " + allHostsInDc);
```
--
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]