[
https://issues.apache.org/jira/browse/CLOUDSTACK-9707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15778046#comment-15778046
]
ASF GitHub Bot commented on CLOUDSTACK-9707:
--------------------------------------------
GitHub user anshul1886 opened a pull request:
https://github.com/apache/cloudstack/pull/1868
CLOUDSTACK-9707: While using hostid parameter, vm gets deployed on an…
…other 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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anshul1886/cloudstack-1 CLOUDSTACK-9707
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1868.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1868
----
commit 376a1c9c81acd90e2816365a5d032f9354b485f6
Author: Anshul Gangwar <[email protected]>
Date: 2015-11-02T07:42:46Z
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.
----
> 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.4#6332)