On 20-Oct-2013, at 10:41 PM, Shanker Balan <shanker.ba...@shapeblue.com> wrote:

> On 10-Oct-2013, at 2:40 AM, Francois Gaudreault <fgaudrea...@cloudops.com> 
> wrote:
>
>> Thanks Phong about the networking answers. I will follow the KVM docs.
>>
>> Regarding the resource manager, we did compile the nonoss package on our 
>> own.  Are you saying we require an extra deps?
>
> Hi Francois,
>
> Have you been able to make progress with LXC?
>
> I just hit the "Could not find corresponding resource manager for lxc" issue 
> too.
> This is with the RPMs from http://cloudstack.apt-get.eu/rhel/4.2/.
>
> It looks to me that the RPMs don't have LXC compiled in or are missing the 
> required JAR dep.
>
> [root@csman2-1 ~]# rpm -ql cloudstack-management |grep hyperviso
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-baremetal-4.2.0.jar
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-kvm-4.2.0.jar
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-ovm-4.2.0.jar
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-ucs-4.2.0.jar
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-vmware-4.2.0.jar
> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-hypervisor-xen-4.2.0.jar
>
>
> [root@csman2-1 ~]# cloudmonkey add cluster clustername=lxc hypervisor=lxc
> zoneid=2f328497-79bf-44dd-93a4-d5844b151437 
> podid=56b8baec-94f2-42b8-8483-3362c8bd0601
> clustertype=CloudManaged
> : Could not find corresponding resource manager for lxc
>
> [root@csman2-1 WEB-INF]# rpm -qa|grep cloudstack-
> cloudstack-management-4.2.0-1.el6.x86_64
> cloudstack-common-4.2.0-1.el6.x86_64
> cloudstack-awsapi-4.2.0-1.el6.x86_64
> cloudstack-cli-4.2.0-1.el6.x86_64
> cloudstack-usage-4.2.0-1.el6.x86_64
>
> [root@csman2-1 WEB-INF]# lsb_release -a
> LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
> Distributor ID: CentOS
> Description:    CentOS release 6.4 (Final)
> Release:        6.4
> Codename:       Final
> [root@csman2-1 WEB-INF]#


Looks like you already have a ticket open at 
https://issues.apache.org/jira/browse/CLOUDSTACK-4849.
I can see that the LxcServerDiscoverer beam is indeed loaded but still unable 
to add an LXC cluster.

2013-10-20 15:44:13,778 INFO  [utils.component.ComponentContext] (Timer-2:null) 
Configuring 
com.cloud.hypervisor.kvm.discoverer.LxcServerDiscoverer_EnhancerByCloudStack_42c0e23d
2013-10-20 15:44:17,508 INFO  [utils.component.ComponentContext] (Timer-2:null) 
Starting 
com.cloud.hypervisor.kvm.discoverer.LxcServerDiscoverer_EnhancerByCloudStack_42c0e23d

[root@csman2-1 ~]# grep -A 6 -B 6 -i lxc 
/usr/share/cloudstack-management/webapps/client/WEB-INF/classes/componentContext.xml
  <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"/>
      </list>
    </property>
  </bean>

Regards.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

CloudStack Bootcamp Training on 27/28 November, Bangalore
http://www.shapeblue.com/cloudstack-training/




This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to