rhtyd commented on issue #3554: Guest OS preference isn't working to define physical hosts to deploy os types URL: https://github.com/apache/cloudstack/issues/3554#issuecomment-531002393 Investigation: By default, the FirstFitAllocator will try to find and sort available hosts by priority and when a host has the OS preference set (by a "guest.os.category.id" detail in host_details) it will have a higher priority than other hosts when trying to deploy the VM on a host. However, that does not restrict CloudStack/FirstFitAllocator to return and use other hosts, for example the priority host with the guest OS preference set may not have enough capacity or max. guest limit. The priority set by the FirstFitAllocator is: Hosts with GPU if GPU is required by template/vm > Hosts matching OS preference > HVM requirement matching the template or if host has HVM > rest of the hosts.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
