You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/04/26 21:38:16 UTC

[03/21] git commit: updated refs/heads/ui-add-remove-nics to b7b7753

CLOUDSTACK-2158: 'userconcentratedpod_firstfit failed to find alternate host to run VM

In the applicationContext .xml , the context of the 'UserConcentratedPodPlanner' needs to include the list of allocators.
This will ensure that when this component is loaded by Spring, the allocators gets initialized.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/232d44bf
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/232d44bf
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/232d44bf

Branch: refs/heads/ui-add-remove-nics
Commit: 232d44bf6e31898887b324bcdebbc659423917e4
Parents: f883b0f
Author: Prachi Damle <pr...@cloud.com>
Authored: Thu Apr 25 14:47:59 2013 -0700
Committer: Prachi Damle <pr...@cloud.com>
Committed: Thu Apr 25 14:48:34 2013 -0700

----------------------------------------------------------------------
 client/tomcatconf/applicationContext.xml.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/232d44bf/client/tomcatconf/applicationContext.xml.in
----------------------------------------------------------------------
diff --git a/client/tomcatconf/applicationContext.xml.in b/client/tomcatconf/applicationContext.xml.in
index d2ea380..1f5ab20 100644
--- a/client/tomcatconf/applicationContext.xml.in
+++ b/client/tomcatconf/applicationContext.xml.in
@@ -532,10 +532,14 @@
   -->
   <bean id="UserDispersingPlanner" class="com.cloud.deploy.UserDispersingPlanner">
     <property name="name" value="UserDispersing"/>
+	<property name="StoragePoolAllocators" value="#{storagePoolAllocators.Adapters}" />
+    <property name="HostAllocators" value="#{hostAllocators.Adapters}" />
   </bean>
   
   <bean id="UserConcentratedPodPlanner" class="com.cloud.deploy.UserConcentratedPodPlanner">
     <property name="name" value="UserConcentratedPod"/>
+	<property name="StoragePoolAllocators" value="#{storagePoolAllocators.Adapters}" />
+    <property name="HostAllocators" value="#{hostAllocators.Adapters}" />
   </bean>
 
   <bean id="clusterBasedAgentLoadBalancerPlanner" class="com.cloud.cluster.agentlb.ClusterBasedAgentLoadBalancerPlanner">