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

LXC not working when using nonoss build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.2.0
    • 4.2.1
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: