You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Francois Gaudreault (JIRA)" <ji...@apache.org> on 2013/10/10 21:27:42 UTC

[jira] [Created] (CLOUDSTACK-4849) LXC not working when using nonoss build

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)