[
https://issues.apache.org/jira/browse/CLOUDSTACK-9696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15927758#comment-15927758
]
ASF GitHub Bot commented on CLOUDSTACK-9696:
--------------------------------------------
Github user anshul1886 commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/1853#discussion_r106378310
--- Diff: server/src/com/cloud/dc/dao/DedicatedResourceDaoImpl.java ---
@@ -312,6 +317,65 @@ public DedicatedResourceVO findByHostId(Long hostId) {
}
@Override
+ public List<DedicatedResourceVO> listAvailableResources(Long
accountId, Long... domains) {
--- End diff --
@koushik-das Could not find a way to write the conditional statement so
went with this way. Here account_id in involved in two places in condition.
> Fail to deploy VM on dedicating clusters and hosts
> --------------------------------------------------
>
> Key: CLOUDSTACK-9696
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9696
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Anshul Gangwar
> Assignee: Anshul Gangwar
>
> IN the below scenario:
> cluster C1 is having 2 hosts, H1 and H2.
> Root domain is having 2 sub domain, D1 and D2
> C1 is dedicated to Root and H1 and H2 are dedicated to D1 and D2 respectively
> D1 and D2 has users U1 and U2 respectively
> Login into U1 and deploy the VM
> router and VM deployment failed with the error:
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)