Francois Gaudreault created CLOUDSTACK-4849:
-----------------------------------------------
Summary: LXC not working when using nonoss build
Key: CLOUDSTACK-4849
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4849
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.2.0
Reporter: Francois Gaudreault
When you compile nonoss RPMs, the LXC manager will not work. There is a line
missing in the nonossComponentContext.xml file.
The error in the log will be :
Could not find corresponding resource manager for LXC
You can fix that by changing the following block:
<bean id="resourceDiscoverers" class="com.cloud.utils.component.AdapterList">
<property name="Adapters">
<list>
<ref bean="XcpServerDiscoverer"/>
<ref bean="SecondaryStorageDiscoverer"/>
<ref bean="KvmServerDiscoverer"/>
<ref bean="BareMetalDiscoverer"/>
<ref bean="OvmDiscoverer"/>
<ref bean="vmwareServerDiscoverer"/>
</list>
</property>
</bean>
To:
<bean id="resourceDiscoverers" class="com.cloud.utils.component.AdapterList">
<property name="Adapters">
<list>
<ref bean="XcpServerDiscoverer"/>
<ref bean="SecondaryStorageDiscoverer"/>
<ref bean="KvmServerDiscoverer"/>
<ref bean="LxcServerDiscoverer"/>
<ref bean="BareMetalDiscoverer"/>
<ref bean="OvmDiscoverer"/>
<ref bean="vmwareServerDiscoverer"/>
</list>
</property>
</bean>
--
This message was sent by Atlassian JIRA
(v6.1#6144)