Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-4849

LXC not working when using nonoss build

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.1
    • Component/s: Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None

      Description

      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>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fgaudreault Francois Gaudreault
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: