Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 416C0D05B for ; Wed, 27 Feb 2013 18:01:23 +0000 (UTC) Received: (qmail 40130 invoked by uid 500); 27 Feb 2013 18:01:22 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 39997 invoked by uid 500); 27 Feb 2013 18:01:22 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 39988 invoked by uid 99); 27 Feb 2013 18:01:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 18:01:22 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS,URIBL_DBL_REDIR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of min.chen@citrix.com designates 66.165.176.89 as permitted sender) Received: from [66.165.176.89] (HELO SMTP.CITRIX.COM) (66.165.176.89) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 18:01:18 +0000 X-IronPort-AV: E=Sophos;i="4.84,749,1355097600"; d="scan'208";a="10056199" Received: from sjcpmailmx02.citrite.net ([10.216.14.75]) by FTLPIPO01.CITRIX.COM with ESMTP/TLS/RC4-MD5; 27 Feb 2013 18:00:57 +0000 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.72]) by SJCPMAILMX02.citrite.net ([10.216.14.75]) with mapi; Wed, 27 Feb 2013 10:00:56 -0800 From: Min Chen To: "cloudstack-dev@incubator.apache.org" Date: Wed, 27 Feb 2013 10:00:55 -0800 Subject: Re: Support | Unable to build vmware from source. Thread-Topic: Support | Unable to build vmware from source. Thread-Index: Ac4VFGRCiS7yXJ8yTvK0U0s8gLjAnw== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.1.130117 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org If you are on 4.0.1, and running non-oss build, you should check components-nonoss.xml.in. Thanks -min On 2/27/13 2:38 AM, "Paul Sanders" wrote: >Hi All, > >When I look into components.xml, I can only see the following: > > > class=3D"com.cloud.hypervisor.XenServerGuru"/> > > > > >Do I need to add something like: > > > >Or should this have been built as part of the compile? > >--- >Kind Regards > >Paul Sanders >Mail: paul.sanders87@googlemail.com > > >On 27 February 2013 10:13, Prasanna Santhanam wrote: > >> On Wed, Feb 27, 2013 at 03:34:47PM +0530, Sateesh Chodapuneedi wrote: >> > > Thanks for the prompt reply. I have had a look in components.xml >>under >> > > /etc/cloud/management and cannot see any reference to vmware. >> > >> > Can you check for nonossComponentContext.xml >> >> Think Paul is talking about 4.0.1 which has the equivalent >> components-*.xml >> >> > >> > > >> > > Should this be visible? >> > > >> > > Thanks >> > > >> > > Paul >> > > >> > > >> > > >> > > --- >> > > Kind Regards >> > > >> > > Paul Sanders >> > > Mob: 07988 725 883 >> > > Mail: paul.sanders87@googlemail.com >> > > >> > > >> > > On 27 February 2013 09:29, Wido den Hollander >>wrote: >> > > >> > > > Hi Paul, >> > > > >> > > > >> > > > On 02/27/2013 10:21 AM, Paul Sanders wrote: >> > > > >> > > >> Hello All, >> > > >> >> > > >> I wondered if anyone could shed some light on an issue I am >>having >> > > >> when compiling cloud stack from source. I have now failed to get >> this >> > > >> built 10 >> > > >> + >> > > >> times and I must be missing something very basic. >> > > >> >> > > >> 1) I have downloaded >> '*apache-cloudstack-4.0.1-**incubating-src.tar.bz2*' >> > > >> and >> > > >> >> > > >> extracted to my working directory. >> > > >> 2) First step I perform is to download the deps using '*mvn -P >>deps >> > > >> -Dnonoss >> > > >> >> > > >> *' >> > > >> 3) I download the following files and copy to the deps folder: >> > > >> - vmware-vim.jar >> > > >> - vmware-vim25.jar >> > > >> - cloud-icontrol.jar >> > > >> - cloud-netscaler.jar >> > > >> - cloud-netscaler-sdx.jar >> > > >> 4) I then run ./*install-non-oss.sh *with finishes without issue. >> > > >> 5) I then run '*mvn install clean' *and then* *'*mvn install >> -Dnonoss*' >> > > >> >> > > >> from the source root. >> > > >> 6) These finish without build errors. >> > > >> 7) Finally I run '*./waf rpm*' to create the RPM files. >> > > >> >> > > >> >> > > >> When I install the RPMs on my management server, I am unable to >>add >> a >> > > >> VMWare cluster as I get the error 'Could not find corresponding >> > > >> resource manager for VMware' >> > > >> >> > > >> >> > > > I've never worked with VMware and CloudStack, but is the VMWare >> > > > component enabled in your components.xml? >> > > > >> > > > Wido >> > > > >> > > > It is worth noting, I was also receiving an error during the RPM >> build: >> > > >> >> > > >> *BUILDROOT/cloud-4.0.1-1.el6.* >> > > >> *x86_64 >> > > >> >> > > >> error: Installed (but unpackaged) file(s) found: >> > > >> /usr/share/java/cloud-****iControl.jar >> > > >> /usr/share/java/cloud-****manageontap.jar >> > > >> /usr/share/java/cloud-****netscaler-sdx.jar >> > > >> /usr/share/java/cloud-****netscaler.jar >> > > >> * * >> > > >> >> > > >> RPM build errors: >> > > >> File listed twice: /usr/share/java/axis2-1.5.1.****jar >> > > >> File listed twice: /etc/cloud/management/Catalina >> > > >> File listed twice: >>/etc/cloud/management/****Catalina/localhost >> > > >> File listed twice: /etc/cloud/management/**** >> > > >> Catalina/localhost/client >> > > >> File listed twice: /etc/cloud/management/db.****properties >> > > >> File listed twice: /etc/cloud/management/log4j-****cloud.xml >> > > >> File listed twice: /etc/cloud/management/tomcat6.****conf >> > > >> >> > > >> Installed (but unpackaged) file(s) found: >> > > >> /usr/share/java/cloud-****iControl.jar >> > > >> /usr/share/java/cloud-****manageontap.jar >> > > >> /usr/share/java/cloud-****netscaler-sdx.jar >> > > >> /usr/share/java/cloud-****netscaler.jar >> > > >> system command rpmbuild failed with error value 1* >> > > >> >> > > >> >> > > >> After some help from this mailing list, I managed to get this >> > > >> resolved by adding the missing files to cloud.spec. However, I am >> > > >> still not getting the vmware support within the build. When I add >> the >> > > >> paths for the vmware-vim.jar, vmware-vim25.jar and >> > > >> vmware-apputils.jar (I have tried renaming them to just vim.jar >> etc), >> > > >> I get the following error message when running waf: >> > > >> >> > > >> RPM build errors: >> > > >> File not found: >> > > >> /root/wd/cloudstack/source/**artifacts/rpmbuild/BUILDROOT/** >> > > >> cloud-4.0.1-1.el6.x86_64/usr/**share/java/apputils.jar >> > > >> File not found: >> > > >> /root/wd/cloudstack/source/**artifacts/rpmbuild/BUILDROOT/** >> > > >> cloud-4.0.1-1.el6.x86_64/usr/**share/java/vim.jar >> > > >> File not found: >> > > >> /root/wd/cloudstack/source/**artifacts/rpmbuild/BUILDROOT/** >> > > >> cloud-4.0.1-1.el6.x86_64/usr/**share/java/vim25.jar >> > > >> system command rpmbuild failed with error value 1 >> > > >> >> > > >> Any help would be greatly appreciated as I have now managed to >> > > >> confuse myself :( >> > > >> >> > > >> >> > > >> >> > > >> --- >> > > >> Kind Regards >> > > >> >> > > >> Paul Sanders >> > > >> Mail: paul.sanders87@googlemail.com >> > > >> >> > > >> >> > > > >> >> -- >> Prasanna., >>