Github user koushik-das commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/895#discussion_r40657679 --- Diff: server/src/com/cloud/agent/manager/allocator/impl/FirstFitAllocator.java --- @@ -297,6 +297,7 @@ s_logger.debug("Host name: " + host.getName() + ", hostId: " + host.getId() + " already has max Running VMs(count includes system VMs), skipping this and trying other available hosts"); } + avoid.addHost(host.getId()); --- End diff -- @SudharmaJain There is another check for GPU device immediately below and the pattern is similar to the guest VM check. The issue you have mentioned can happen even for this. Can you check and verify?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---