sureshanaparti commented on code in PR #10381:
URL: https://github.com/apache/cloudstack/pull/10381#discussion_r2075204909


##########
server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java:
##########
@@ -1411,7 +1411,7 @@ private boolean canAvoidCluster(Cluster clusterVO, 
ExcludeList avoids, ExcludeLi
 
             if (vmRequiresSharedStorage) {
                 // check shared pools
-                List<StoragePoolVO> allPoolsInCluster = 
_storagePoolDao.findPoolsByTags(clusterVO.getDataCenterId(), 
clusterVO.getPodId(), clusterVO.getId(), null, false, 0);
+                List<StoragePoolVO> allPoolsInCluster = 
_storagePoolDao.findPoolsByTags(clusterVO.getDataCenterId(), 
clusterVO.getPodId(), clusterVO.getId(), ScopeType.CLUSTER, null, false, 0);

Review Comment:
   @harikrishna-patnala can you check if this will skip the zone-wide pools of 
the cluster, or these are considered elsewhere? 



-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to