Github user ustcweizhou commented on the issue: https://github.com/apache/cloudstack/pull/1868 @anshul1886 Considering about backwards compatibility. I would like to add the global setting, then users will have two options (1) deploy vm fails if specified host does not have enough capacity. This is what this PR wants to do. (2) deploy to other hosts if specified host does not have enough capacity. In this case, the specified host can be regarded as the perferred host. This is also what cloudstack works currently.
--- 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. ---