weizhouapache commented on pull request #5339: URL: https://github.com/apache/cloudstack/pull/5339#issuecomment-903728799
@nvazquez actually vm cannot be started or migrated if there is no enough server capacity in 4.15 and master. the process to deploy/start a vm without destination host is (1) check server capacity of all hosts (2) select a host (3) double check if host has enough capacity (because step 1 might take long time if there are many hosts). this step was added by #3728 if destination host is specified, step 1 and 2 are skipped for now. but there is still a new check in step 3. I am not sure if necessary to add an extra step to check server capacity (it takes few milliseconds) in this PR. current error 1. allow.deploy.vm.if.deploy.on.given.host.fails=false  2. allow.deploy.vm.if.deploy.on.given.host.fails=true  -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
