shwstppr commented on pull request #4884:
URL: https://github.com/apache/cloudstack/pull/4884#issuecomment-811790614


   @weizhouapache I was able to reproduce it (RandomAllocator returning hosts 
without capacity check) without making any changes to userdispersing.
   I removed `RandomAllocator` from `host.allocators.exclude` and set 
`host.allocators.order` to `RandomAllocator,FirstFitRouting`
   Code here 
https://github.com/apache/cloudstack/blob/4.14/server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java#L1352-L1365
 returns available suitable hosts from first allocator.


-- 
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.

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


Reply via email to