Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E5BD4107C0 for ; Mon, 21 Oct 2013 08:25:45 +0000 (UTC) Received: (qmail 3705 invoked by uid 500); 21 Oct 2013 08:25:45 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 3674 invoked by uid 500); 21 Oct 2013 08:25:44 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 3666 invoked by uid 99); 21 Oct 2013 08:25:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 08:25:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shanker.balan@shapeblue.com designates 213.199.154.15 as permitted sender) Received: from [213.199.154.15] (HELO emea01-am1-obe.outbound.protection.outlook.com) (213.199.154.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Oct 2013 08:25:40 +0000 Received: from DBXPR07MB190.eurprd07.prod.outlook.com (10.242.143.22) by DBXPR07MB190.eurprd07.prod.outlook.com (10.242.143.22) with Microsoft SMTP Server (TLS) id 15.0.800.7; Mon, 21 Oct 2013 08:25:17 +0000 Received: from DBXPR07MB190.eurprd07.prod.outlook.com ([169.254.1.250]) by DBXPR07MB190.eurprd07.prod.outlook.com ([169.254.1.250]) with mapi id 15.00.0800.005; Mon, 21 Oct 2013 08:25:16 +0000 From: Shanker Balan To: "" Subject: Re: LXC and Networking Thread-Topic: LXC and Networking Thread-Index: AQHOxD1N61YwHctORUW4DXosXyIH4ZnsaHiAgAABRICAAHHNgIAAA/YAgBEG7ICAADBIAIAAErsAgAC8OoA= Date: Mon, 21 Oct 2013 08:25:16 +0000 Message-ID: <84EDE61E-48F3-4C8D-81D5-8E15B096EE17@shapeblue.com> References: <52542845.5090102@cloudops.com> <5255626F.6050900@cloudops.com> <20131009140903.GC21245@USLT-205755.sungardas.corp> <5255C648.9030204@cloudops.com> <7058FA6B-C663-49D1-8A0E-E1CF60FF3ADC@shapeblue.com> <52644706.3010207@cloudops.com> In-Reply-To: <52644706.3010207@cloudops.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [103.5.132.53] x-forefront-prvs: 00064751B6 x-forefront-antispam-report: SFV:NSPM;SFS:(51704005)(377424004)(50944004)(199002)(189002)(377454003)(479174003)(13734003)(51914003)(24454002)(85306002)(81542001)(74706001)(74876001)(66066001)(80022001)(65816001)(15974865002)(81342001)(74366001)(63696002)(69226001)(81816001)(59766001)(77982001)(81686001)(76482001)(85806002)(83072001)(36756003)(83716003)(4396001)(19580405001)(83322001)(19580395003)(80976001)(33656001)(54316002)(56776001)(31966008)(74662001)(74502001)(47446002)(47736001)(47976001)(50986001)(49866001)(15975445006)(76786001)(76796001)(51856001)(53806001)(15202345003)(46102001)(82746002)(79102001)(54356001)(77096001)(56816003)(491001);DIR:OUT;SFP:;SCL:1;SRVR:DBXPR07MB190;H:DBXPR07MB190.eurprd07.prod.outlook.com;CLIP:103.5.132.53;FPR:;RD:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="iso-8859-1" Content-ID: <3DD1B858CA7FAC4BB7B3602F66A3325D@eurprd07.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: shapeblue.com X-Virus-Checked: Checked by ClamAV on apache.org On 21-Oct-2013, at 2:41 AM, Francois Gaudreault = wrote: > Shanker, > > We were using the nonoss build, and we had to add a line in the nonossCom= ponentContext.xml (like the ticket says). I did not try with the oss versio= n, maybe there is a ossComponentContext.xml somewhere... I don't know. I rebuilt ACS 4.2 nonoss from Git. Cluster addition works now. Thanks for t= he tip. > list clusters name=3DLXC1 count =3D 1 cluster: name =3D LXC1 id =3D a723620c-2f89-487d-993b-343442906fac allocationstate =3D Enabled clustertype =3D CloudManaged cpuovercommitratio =3D 3 hypervisortype =3D LXC managedstate =3D Managed memoryovercommitratio =3D 1 podid =3D 56b8baec-94f2-42b8-8483-3362c8bd0601 podname =3D Zone21-Pod1 zoneid =3D 2f328497-79bf-44dd-93a4-d5844b151437 zonename =3D Zone21 > > After I got pass this issue, I am still stuck on KVM system vms not comin= g online properly. Something kills the VM randomly. Sometimes the Console P= roxy gets some IP, sometimes not. Same for SSVM. But that's another issue := ) > :) Will update on the progress at my end too. > Francois > > On 10/20/2013, 4:04 PM, Shanker Balan wrote: >> On 20-Oct-2013, at 10:41 PM, Shanker Balan = wrote: >> >>> On 10-Oct-2013, at 2:40 AM, Francois Gaudreault wrote: >>> >>>> Thanks Phong about the networking answers. I will follow the KVM docs. >>>> >>>> Regarding the resource manager, we did compile the nonoss package on o= ur 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-plugi= n-hypervisor-baremetal-4.2.0.jar >>> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugi= n-hypervisor-kvm-4.2.0.jar >>> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugi= n-hypervisor-ovm-4.2.0.jar >>> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugi= n-hypervisor-ucs-4.2.0.jar >>> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugi= n-hypervisor-vmware-4.2.0.jar >>> /usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugi= n-hypervisor-xen-4.2.0.jar >>> >>> >>> [root@csman2-1 ~]# cloudmonkey add cluster clustername=3Dlxc hypervisor= =3Dlxc >>> zoneid=3D2f328497-79bf-44dd-93a4-d5844b151437 podid=3D56b8baec-94f2-42b= 8-8483-3362c8bd0601 >>> clustertype=3DCloudManaged >>> : 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/j= ira/browse/CLOUDSTACK-4849. >> I can see that the LxcServerDiscoverer beam is indeed loaded but still u= nable 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_En= hancerByCloudStack_42c0e23d >> >> [root@csman2-1 ~]# grep -A 6 -B 6 -i lxc /usr/share/cloudstack-managemen= t/webapps/client/WEB-INF/classes/componentContext.xml >> >> >> >> >> >> >> >> >> >> >> >> >> >> Regards. >> >> -- >> @shankerbalan >> >> M: +91 98860 60539 | O: +91 (80) 67935867 >> shanker.balan@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 intende= d solely for the use of the individual to whom it is addressed. Any views o= r 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 up= on its contents, nor copy or show it to anyone. Please contact the sender i= f you believe you have received this email in error. Shape Blue Ltd is a co= mpany incorporated in England & Wales. ShapeBlue Services India LLP is a co= mpany incorporated in India and is operated under license from Shape Blue L= td. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil = and is operated under license from Shape Blue Ltd. ShapeBlue is a registere= d trademark. >> > > > -- > Francois Gaudreault > Architecte de Solution Cloud | Cloud Solutions Architect > fgaudreault@cloudops.com > 514-629-6775 > - - - > CloudOps > 420 rue Guy > Montr=E9al QC H3J 1S6 > www.cloudops.com > @CloudOps_ > -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, B= angalore - 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 s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended 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 y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny 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 t= rademark.