Updated Branches:
  refs/heads/master 3e0bdaac1 -> d68b6c3e5

temporary fix: autowriring failing for missing storage allocator

The storage allocator beans were given with the wrong package namespace
of com.cloud and not org.apache.cloudstack. Removed and correctedt the
namespace. Server coems up successfully.

Edison to revisit and complete the fix.

Signed-off-by: Prasanna Santhanam <[email protected]>


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

Branch: refs/heads/master
Commit: d68b6c3e548153e3357f538581c1ceb6b662195d
Parents: 3e0bdaa
Author: Prasanna Santhanam <[email protected]>
Authored: Wed Feb 27 20:01:16 2013 +0530
Committer: Prasanna Santhanam <[email protected]>
Committed: Wed Feb 27 20:01:16 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d68b6c3e/client/tomcatconf/componentContext.xml.in
----------------------------------------------------------------------
diff --git a/client/tomcatconf/componentContext.xml.in 
b/client/tomcatconf/componentContext.xml.in
index 49b7e34..0907760 100644
--- a/client/tomcatconf/componentContext.xml.in
+++ b/client/tomcatconf/componentContext.xml.in
@@ -101,11 +101,19 @@
   <bean id="FirstFitRouting" 
class="com.cloud.agent.manager.allocator.impl.FirstFitRoutingAllocator">
     <property name="name" value="FirstFitRouting"/>
   </bean>
+
   
   <!--
     Storage pool allocators
   -->
 
+  <bean id="LocalStoragePoolAllocator" 
class="org.apache.cloudstack.storage.allocator.LocalStoragePoolAllocator">
+    <property name="name" value="LocalStorage"/>
+  </bean>
+  <bean id="FirstFitStoragePoolAllocator" 
class="org.apache.cloudstack.storage.allocator.FirstFitStoragePoolAllocator">
+    <property name="name" value="Storage"/>
+  </bean>
+
   <bean id="UserConcentratedAllocator" 
class="com.cloud.agent.manager.allocator.impl.UserConcentratedAllocator">
     <property name="name" value="User First"/>
   </bean>

Reply via email to