[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16038602#comment-16038602
 ] 

ASF subversion and git services commented on CLOUDSTACK-9707:
-------------------------------------------------------------

Commit f52719a9cfbfe3e44c712dc02706e89be361e975 in cloudstack's branch 
refs/heads/master from [~anshulg]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=f52719a ]

CLOUDSTACK-9707: While using hostid parameter, vm gets deployed on another if 
the host
given is running out of capacity. If host id is specified the deployment should 
happen
on the given host and it should fail if the host is out of capacity. We are 
retrying
deployment on the entire zone without the given host id if we fail once. The 
retry,
which will retry on other hosts, should only be attempted if host id isn't 
given.

Also, introduces global setting
allow.deploy.vm.if.deploy.on.given.host.fails with which old behaviour
can be restored


> deployVirtualMachine API should fail if hostid is specified and host doesn't 
> have enough resources
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9707
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9707
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Anshul Gangwar
>            Assignee: Anshul Gangwar
>
> While using hostid parameter, vm gets deployed on another if the host
> given is running out of capacity. If host id is specified the deployment 
> should happen
> on the given host and it should fail if the host is out of capacity. We are 
> retrying
> deployment on the entire zone without the given host id if we fail once. The 
> retry,
> which will retry on other hosts, should only be attempted if host id isn't 
> given.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to