Building Cloudstack 4.0.1 Ubuntu (Debian) install packages
Hi, I have been trying to build the Ubuntu/Debian install packages for Cloudstack 4.0.1 with VMWare enabled (mvn install -Dnonoss). The maven build shows success, but then building the actual install packages does not include the VMWare jar files, apparently. I've tried to "hand-stitch" together a working Cloudstack 4.0.1 release on an Ubuntu system by placing the VMWare snapshot jar file into /usr/share/java and also including the VMWare-specific jar files (vmware-apputils.jar, vmware-vim25.jar, vmware-vim.jar); this was after running apt-get install of the packages I created on the target system. Up to now, I have been unsuccessful, so I assume there must be some sort of embedded properties file that signifies if VMWare is an enabled plugin. Has anyone been successful building Cloudstack 4.0.1 with VMWare support and then deploying it to Ubuntu 12.04? Thanks -- Jim L.
Importing Cloudstack code into Eclipse
According to the page below, there are Eclipse project files included with the source; apparently that is incorrect. So is the documentation wrong, or did somebody forget to include the .project files? >From http://cloudstack.apache.org/develop/environment.html: Getting Source CloudStack uses git for source version control, if you know little about git, http://book.git-scm.com/ is a good start. Once you have git setup on your machine, pull source with: git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git Importing Source into Eclipse Most Apache CloudStack developers use Eclipse as their primary IDE. CloudStack source code already includes Eclipse .project file in each project folder, you can import them to your Eclipse workspace by: - Creating a new Eclipse workspace, right clicking package explorer and selecting *Import*. - Selecting *"Existing Projects into Workspace"*. - Browsing to the folder with CloudStack source code. - Click *Open*, where you will see all Apache CloudStack projects listed in the dialog box. Click the *Finish* button. Now you have CloudStack registered with Eclipse.
Re: Building Cloudstack 4.0.1 Ubuntu (Debian) install packages
Hi ... anyone have any advice for my problem regarding building Cloudstack 4.0.1 Ubuntu/Debian packages with VNWare installed? Thanks -- Jim L. On Tue, Apr 23, 2013 at 11:19 AM, Jim L. wrote: > Hi, > > I have been trying to build the Ubuntu/Debian install packages for > Cloudstack 4.0.1 with VMWare enabled (mvn install -Dnonoss). The maven > build shows success, but then building the actual install packages does not > include the VMWare jar files, apparently. > > I've tried to "hand-stitch" together a working Cloudstack 4.0.1 release on > an Ubuntu system by placing the VMWare snapshot jar file into > /usr/share/java and also including the VMWare-specific jar files > (vmware-apputils.jar, vmware-vim25.jar, vmware-vim.jar); this was after > running apt-get install of the packages I created on the target system. Up > to now, I have been unsuccessful, so I assume there must be some sort of > embedded properties file that signifies if VMWare is an enabled plugin. > > Has anyone been successful building Cloudstack 4.0.1 with VMWare support > and then deploying it to Ubuntu 12.04? > > Thanks -- Jim L. > >
Building Ubuntu/Debian Packages with VMWare enabled for Cloudstack 4.0.2
Hi, Is there documentation for how to build Ubuntu/Debian packages with VMWare enabled for Cloudstack 4.0.2? If not, is there a way to manually add VMWare functionality on an Ubuntu server after installing cloud-client? Thanks -- Jim L.
Really need some help here ...
Hi, I have been trying to build either RPMs or DEB packages for Cloudstack 4.0.2 with VMWare enabled, but have been unsuccessful. I can build successfully using Maven (mvn -P deps -D nonoss) but the DEB/RPM build processes apparently rebuild on their own without using the artifacts created by the Maven build. We are currently using the Cloudstack 3.0.2 version, but want to take advantage of the latest features available with 4.0.2. Can anyone please help? Is there a way to install what is being built for DEB/RPMs and then manually modify that installed Cloudstack 4.0.2 environment to support VMWare? Regards, --Jim L.
Re: Really need some help here ...
Hi David, I know Wido's DEBs do not have VMWare support (at least, the last time I tried to used them). I'll give the RPM's a try, however. In the meantime: is there additional documentation/wiki/back of a napkin that explains how to build DEB or RPM packages with VMWare support? I would like to have that ability if I decide to write additional plugins for some projects I'm working on. I did try to "hand-roll" an installation on Ubuntu by taking the 3.0.2 version I have now and using that as a template to modify the 4.0.2 /etc/cloud/management/components.xml file, adding the adapters VMWare Discoverer and VMWare HypervisorGuru to the config. I also added the /usr/share/java/cloud-plugins directory with the VMWare base and hypervisor jars ( in addition to the vmware-vim25.jar, vmware-apputils,jar, etc., files), but I encountered numerous classpath/missing jar issues. I (think I) finally resolved those, but the VMwareGuru component will not instantiate/initialize, so I put all of that on hold until I could get some help. So, I'll give Wido's repo a try on CentOS but it would be great to know how to do this on my own as well and would prefer Ubuntu if possible. Thanks for responding. Regards, --Jim L. On Sat, Apr 27, 2013 at 11:12 AM, David Nalley wrote: > On Sat, Apr 27, 2013 at 9:07 AM, Jim L. wrote: > > Hi, > > > > I have been trying to build either RPMs or DEB packages for Cloudstack > > 4.0.2 with VMWare enabled, but have been unsuccessful. I can build > > successfully using Maven (mvn -P deps -D nonoss) but the DEB/RPM build > > processes apparently rebuild on their own without using the artifacts > > created by the Maven build. > > > > We are currently using the Cloudstack 3.0.2 version, but want to take > > advantage of the latest features available with 4.0.2. > > > > Can anyone please help? Is there a way to install what is being built > for > > DEB/RPMs and then manually modify that installed Cloudstack 4.0.2 > > environment to support VMWare? > > > > > > Regards, > > > > --Jim L. > > Hi Jim, > > So while I am happy to help you build those packages, do you really > need to build them yourself? > Wido's yum repo has packages with VMware support (I can't speak for > the debs, I don't think 4.0.2 is there yet) > http://cloudstack.apt-get.eu/rhel/4.0/ > > --David >
Re: Really need some help here ...
Chip, I'll do that. Thanks for the info. Regards, --Jim L. On Sat, Apr 27, 2013 at 1:25 PM, Chip Childers wrote: > There is a bug in the 4.0.x Debian/rules file that excludes the > optional -Dnonoss flag. Look at the 4.1 branch copy and note the env > variable I added to support optional mvn flags during the packaging's > build step. > > On Apr 27, 2013, at 1:22 PM, "Jim L." wrote: > > > Hi David, > > > > I know Wido's DEBs do not have VMWare support (at least, the last time I > > tried to used them). I'll give the RPM's a try, however. > > > > In the meantime: is there additional documentation/wiki/back of a napkin > > that explains how to build DEB or RPM packages with VMWare support? I > > would like to have that ability if I decide to write additional plugins > for > > some projects I'm working on. I did try to "hand-roll" an installation > on > > Ubuntu by taking the 3.0.2 version I have now and using that as a > template > > to modify the 4.0.2 /etc/cloud/management/components.xml file, adding the > > adapters VMWare Discoverer and VMWare HypervisorGuru to the config. I > also > > added the /usr/share/java/cloud-plugins directory with the VMWare base > and > > hypervisor jars ( in addition to the vmware-vim25.jar, > vmware-apputils,jar, > > etc., files), but I encountered numerous classpath/missing jar issues. > I > > (think I) finally resolved those, but the VMwareGuru component will not > > instantiate/initialize, so I put all of that on hold until I could get > some > > help. > > > > So, I'll give Wido's repo a try on CentOS but it would be great to know > > how to do this on my own as well and would prefer Ubuntu if possible. > > Thanks for responding. > > > > > > Regards, > > > > --Jim L. > > > > > > > > On Sat, Apr 27, 2013 at 11:12 AM, David Nalley wrote: > > > >> On Sat, Apr 27, 2013 at 9:07 AM, Jim L. wrote: > >>> Hi, > >>> > >>> I have been trying to build either RPMs or DEB packages for Cloudstack > >>> 4.0.2 with VMWare enabled, but have been unsuccessful. I can build > >>> successfully using Maven (mvn -P deps -D nonoss) but the DEB/RPM build > >>> processes apparently rebuild on their own without using the artifacts > >>> created by the Maven build. > >>> > >>> We are currently using the Cloudstack 3.0.2 version, but want to take > >>> advantage of the latest features available with 4.0.2. > >>> > >>> Can anyone please help? Is there a way to install what is being built > >> for > >>> DEB/RPMs and then manually modify that installed Cloudstack 4.0.2 > >>> environment to support VMWare? > >>> > >>> > >>> Regards, > >>> > >>> --Jim L. > >> > >> Hi Jim, > >> > >> So while I am happy to help you build those packages, do you really > >> need to build them yourself? > >> Wido's yum repo has packages with VMware support (I can't speak for > >> the debs, I don't think 4.0.2 is there yet) > >> http://cloudstack.apt-get.eu/rhel/4.0/ > >> > >> --David > >> >