Commit Graph

471 Commits

Author SHA1 Message Date
Wei Zhou e9ce0df5d8 CLOUDSTACK-7316: usage server cannot start due to missing key in /etc/cloudstack/usage/ in Ubuntu setup
(cherry picked from commit 6fb9746e5e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-27 17:39:22 +05:30
Wei Zhou 6fb9746e5e CLOUDSTACK-7316: usage server cannot start due to missing key in /etc/cloudstack/usage/ in Ubuntu setup 2014-12-15 09:22:52 +01:00
Rohit Yadav 752980f370 Revert "packaging: updated hardcoded jasypt version to 1.9.2"
This reverts commit 43f39a1ec3.
2014-12-04 19:47:10 +05:30
Rohit Yadav 518853ab43 packaging: updated hardcoded jasypt version to 1.9.2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 43f39a1ec3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-04 04:04:30 +05:30
Rohit Yadav 43f39a1ec3 packaging: updated hardcoded jasypt version to 1.9.2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-04 04:02:46 +05:30
Hugo Trippaers 80846ba98a Bump debian package version to 4.6.0-SNAPSHOT as well 2014-11-03 10:36:13 +01:00
Rohit Yadav 4179ccbf55 debian: stop tomcat6 after installing cloudstack-management
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 17:34:44 +02:00
Rohit Yadav 28ad34e31e CLOUDSTACK-7038: Add mysql client dependency for mgmt server, rpms and debs
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 6a26e77514)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-20 12:17:34 +02:00
Wido den Hollander 097b2d711f debian: Do not depend on tomcat for building
No need for Tomcat when building the packages
2014-08-19 00:00:15 +02:00
Wido den Hollander aac8b91cbe debian: Depend on qemu-system-x86 or qemu-kvm
The qemu-kvm package has become deprecated in Ubuntu 14.04 and
the right package to install would be qemu-system-x86

To maintain backwards compatibility for older Ubuntu LTS releases
we depend on qemu-system-x86 or qemu-kvm
2014-08-15 16:13:49 +02:00
Rohit Yadav 47625af7c3 CLOUDSTACK-6360: Fix JDK paths in ubuntu packaging init scripts, don't use 1.6
Since we've agreed to use JDK/JRE 1.7, this enforces that for Ubuntu builds
- this fix remove usage of 1.6 paths in JDK_DIR for cloud-{agent, management, usage}.
- adds oracle jdk 1.7 path (in case a user is using that)
- adds mysql-connector-java path to CLASSPATH for usage server
- adds libmysql-java pkg dependency (tested and available for precise and trusty)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 96d6a2a037)

Conflicts:
	packaging/debian/init/cloud-usage
Adds pessimistic logic to try the hard coded paths if Rajani's logic fails
2014-08-08 14:26:47 +02:00
Wido den Hollander 3d497f620b debian: Do not restart libvirt after agent upgrade.
This causes NFS storage pools to be lost and that can cause
problems in certain situations.
2014-03-26 16:50:54 +01:00
Wido den Hollander b141641528 debian: cloudstack-management requires libmysql-java for SQL connection 2014-03-25 21:13:15 +01:00
Marcus Sorensen d638d04cbf CLOUDSTACK-6181: Merge of resize root feature (resize-root branch) 2014-03-14 07:17:33 -06:00
Hugo Trippaers 4402685e11 Update master to 4.5.0-SNAPSHOT 2014-03-14 14:55:26 +01:00
Wido den Hollander 49a29ce0cf Switch to Java 7
We now require at least Java 7 to build and run CloudStack.

Both the DEB and RPM packaging now also require Java 7 during installation
of the packages.
2014-01-27 11:54:43 +01:00
Hugo Trippaers b689e615c5 Bump the debian package version to 4.4.0-snapshot 2013-11-21 21:03:16 +01:00
Wei Zhou eb4c52ebca Remove cloudmanagementserver.keystore from installation
(cherry picked from commit 3855922378)
2013-11-11 18:11:06 +01:00
Wei Zhou 57ba367f3c CLOUDSTACK-5042: change cloud.keystore to cloudmanagementserver.keystore and install it (cherry picked from commit de448ec479) 2013-11-08 09:00:29 +01:00
Wei Zhou 7cdd2ef6ba add iptables/ethtool requirement on Agent in debian/control 2013-10-24 11:33:49 +02:00
Darren Shepherd 8f25ea8c0f Removing spring context files from debian build 2013-10-23 19:41:29 -07:00
Hugo Trippaers ff336c3e9c Fix typo 2013-10-05 01:12:16 +02:00
Hugo Trippaers 2b47611c5d Fix for -SNAPSHOT problem in debian rules. Use -snapshot in the changelog to force the packaging to use the -SNAPSHOT extension for maven targets 2013-10-04 18:12:57 +02:00
Wido den Hollander e6fd794ca0 packaging: Do not depend on JNA and don't include it in the classpath
It's now packaged with maven due to libvirt 0.5.1 and will be included
in the classpath automatically.
2013-09-29 12:22:46 +02:00
Wei Zhou a6bfd96021 add missing cloudstack-agent-upgrade in cloudstack-agent debian packages 2013-09-27 10:31:54 +02:00
Wei Zhou 522860c03d fix silly typo 2013-09-26 22:47:23 +02:00
ynojima daec10e37a fix rpm/deb build error caused by moving systemvm to its own maven project 2013-09-24 10:51:01 -04:00
Wei Zhou 164e3e33b4 CLOUDSTACK-4405: change rpm and debian packaging to support automatic update (KVM upgrade)
Including following steps:
b. Run "cloudstack-agent-upgrade". This script will upgrade all the existing bridge name to new bridge name, and update related firewall rules.
c. install a libvirt hook:
    c1. mkdir /etc/libvirt/hooks
    c2. cp /usr/share/cloudstack-agent/lib/libvirtqemuhook /etc/libvirt/hooks/qemu
    c3. chmod +x /etc/libvirt/hooks/qemu
    c4. service libvirtd restart
(cherry picked from commit a0988780ad)

Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:55:35 +02:00
Wei Zhou ff5ac2676e CLOUDSTACK-4533: fix two usage issues (db.properties and log4j-cloud.xml)
(1) Replacing db.properties with management server db.properties
(2) Rename log4j-cloud_usage.xml to log4j-cloud.xml
(cherry picked from commit fb97e8e617)
2013-09-06 08:06:39 +02:00
Wido den Hollander 97da9e70f5 debian: Remove .snapshot from version number to fix package build 2013-08-02 13:22:33 +02:00
Chip Childers 61cba68083 Updaging deb changelog 2013-08-01 10:37:47 -04:00
Rene Diepstraten 211b180d55 Replaced virsh() by python-libvirt functions
Signed-off-by: Rene Diepstraten <rene@renediepstraten.nl>
2013-07-25 18:10:58 +02:00
Wido den Hollander 6758d727a4 debian: Package server.xml and tomcat6.conf
This are symlinks to server-nonssl.xml and tomcat6-nonssl.conf, but
they are required for starting the management server.

Commit 2db7a4559e broke this.
2013-05-27 09:05:04 +02:00
Hiroaki KAWAI f854f5df87 fix debian packaging
nfs-common is required for a basic NFS installation both in
management server and agent.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
2013-05-27 14:54:07 +09:00
Wido den Hollander 2db7a4559e debian: Only package specified configuration files for management
Otherwise we will have duplicate / conflicting files with the AWSAPI package
2013-05-26 12:00:52 +02:00
Hiroaki KAWAI dc822a83d7 fix debian packaging
*.in files must be processed by ReplaceTokens fliter.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>
2013-05-26 00:45:37 +09:00
Wido den Hollander 2336d478be debian: When building packages run a Maven clean first 2013-05-23 23:19:03 +02:00
Wido den Hollander 37308ebff4 debian: Create the webapps7080 directory 2013-05-21 14:36:03 +02:00
Wido den Hollander 730e6571f6 debian: Packaging fixes for AWSAPI 2013-05-21 13:20:44 +02:00
Wido den Hollander b5bb9f251c debian: Change the version in the changelog 2013-05-14 15:56:36 +02:00
Chip Childers 207c288958 CLOUDSTACK-2218: Remove applicationContext.xml from the awsapi
installation logic for DEB

Signed-off-by: Chip Childers <chip.childers@gmail.com>

Conflicts:

	debian/rules
2013-05-13 16:29:50 +01:00
Chip Childers 9abc21ceb9 Adding an optional env variable for DEB packaging to pick up additional profiles to package
Signed-off-by: Chip Childers <chip.childers@gmail.com>

Conflicts:

	debian/rules
2013-04-23 16:39:35 +01:00
Wido den Hollander 15c26195c5 debian: Package the AWSAPI bridge 2013-04-13 11:12:39 +02:00
Wido den Hollander d5d167cb97 CLOUDSTACK-1980: Add cloudstack-sysvmadm and cloudstack-setup-encryption
To the management server package.

cloudstack-setup-bridge should be a part of the cloudstack-awsapi package
2013-04-09 16:52:15 +02:00
Wido den Hollander 04a7fed35f CLOUDSTACK-1935: Rename tools from cloud-* to cloudstack-* 2013-04-08 17:21:41 +02:00
Wido den Hollander aa23dcc956 debian: Install the LICENSE and NOTICE files
These will be installed in /usr/share/doc/<package>/
2013-04-05 18:52:48 +02:00
Wido den Hollander a773ed88b7 debian: Management server packaging fixes
We should be carefull what we package since all configuration should
be in /etc/cloudstack/management

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2013-04-05 16:13:42 +02:00
Wido den Hollander df48b6531d CLOUDSTACK-1589: Don't depend on chkconfig
Although this package is semi-available under Ubuntu/Debian we don't use it.

It's not used by the packages, so no reason to depend on it.
2013-04-04 21:10:33 +02:00
Wido den Hollander d80d8d8a67 Remove db-enc.properties
This seemed to be used with Ant, but there is no other reference to this file.

It shouldn't be here and isn't used. It only confuses people.
2013-04-04 08:51:38 +02:00
Wido den Hollander 8ff24fcb18 debian: Copy the SystemVM ISO from a different location 2013-04-03 17:07:00 +02:00
Pradeep Soundararajan 6eac422943 CLOUDSTACK-1689: Adding ipset as part of agent install for debian
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-04-01 15:33:23 +01:00
Wido den Hollander 44a0facd38 debian: Copy management server configuration from old location
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Wido den Hollander 80da4d5baf CLOUDSTACK-1490: deb packaging tomcat fixes
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Wido den Hollander 29baacd120 debian: Include jasypt in the cloudstack-common package
This is required for the cloud-install-sys-tmplt installer.

Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Brian Spindler ae3a048350 CLOUDSTACK-1736: Changes required to get cloudstack-management service
working again.

The newly created package for cloudstack-management was not correctly
installing the service. This prevented cloud-setup-management from being
able to configure the service, and the init script didn't even believe
the service was installed. I also added sudo to the chmod command for
checking script permissions, as most scripts belong to root. It was
trying to configure the agent with cloudstack-setup-agent but the script
was still called cloud-setup-agent, so I renamed it to cloudstack-setup-agent.
2013-03-25 17:23:18 +00:00
Wido den Hollander 41e3db39c3 debian: Package ulimits and sudo rules
The old packages used to write this data to the configuration
in a postinst file.

That was horrible to track since system administrators had no
idea what was going on.
2013-03-14 15:55:32 +01:00
Wido den Hollander cd65d26a93 debian: Further improve the usage server package
We no longer symlink db.properties to the management server, but
we create a own db.properties for the usage server.

During a upgrade we copy the file to make the upgrade easier.
2013-03-13 21:25:18 +01:00
Wido den Hollander 22d9277ad9 debian: Bump the version to 4.2.0
This is needed since we have to be in sync with the Maven version
2013-03-13 19:20:33 +01:00
Wido den Hollander 67f87fe4f2 debian: Change the location of the SystemVM ISO 2013-03-12 17:32:36 +01:00
Wido den Hollander a331cfa20f debian: Do not hard code filenames to package 2013-03-12 17:32:36 +01:00
Wido den Hollander 7a794519a2 debian: Fix the usage server packaging 2013-03-12 14:26:10 +01:00
Wido den Hollander aee6fc3bce debian: Copy the contents of the old ~cloud directory to the new location 2013-03-12 14:26:10 +01:00
Marcus Sorensen 9ad54a082c Summary: KVM - use virtio socket to communicate config to system vms
Detail: This gets rid of the patchdisk method of passing cmdline and
authorized_keys to KVM system VMs. It instead passes them to a virtio socket,
which the KVM guest reads from the character device /dev/vport0p1 during
cloud-early-config. Tested to work on CentOS 6.3 and Ubuntu 12.04. Should
work with even older versions of libvirt.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1362691685 -0700
2013-03-07 14:28:05 -07:00
Wido den Hollander 5b6a4a68c4 debian: Use some more variables in the rules file
Makes changes easier and it less hard coded.
2013-03-06 19:26:18 +01:00
Wido den Hollander 9e02ed139f packaging: Include the Agent plugins dir in the classpath
For both the RPM and DEB packages are new directory for plugins
for the agent is created.

All JAR files in that directory will be added to the classpath
on boot of the agent.
2013-03-06 19:26:18 +01:00
Wido den Hollander 579b02756f debian: Change the homedir of the user 'cloud' 2013-03-05 16:10:38 +01:00
Wido den Hollander c56de5e345 debian: Copy Agent configuration from old to new location
We copy some files automatically so the admin doesn't have to
worry about the upgrade.
2013-03-05 16:10:38 +01:00
Wido den Hollander e14e057f3d packaging: Use the JNA version from the distribution
Libvirt-java 0.4.9 works just fine with JNA 3.2.4 which is in
all distributions.

Future libvirt version require at least JNA 3.5.1 due to new methods
and memory management, but that is not our concern now.

By depending on the JNA in the distribution and adding it to the classpath
we can work just fine.
2013-03-05 16:10:38 +01:00
Wido den Hollander 20070ee07f debian: Packaging update for mainly the Agent
The new cloudstack-agent package wouldn't boot due to various issues.

Those all seem to be resolved.

Other changes include path changes like /etc/cloud -> /etc/cloudstack

The new package now installs, but the upgrade hasn't been tested yet.
2013-03-01 15:06:07 +01:00
Wido den Hollander 01db2df23e debian: Copy the 4.2 jar files to the destination directories.
This is FAR from perfect, but it works for now.

the VERSION variable returns 4.1 from the debian/changelog file, but in
the Maven configuration everything is already set to 4.2

So generated JAR files have 4.2.XX-SNAPSHOT in their name.

We probably want to find a better way to match this, extracting the version
somewhere out of Maven maybe?
2013-02-28 13:48:14 +01:00
Wido den Hollander ca6c1eba9c debian: Require either Java 6 or 7
Our source is 1.6 compatible (pom.xml), but users can choose to compile
with JDK7 and run with JRE 7 if they want.
2013-02-28 13:48:14 +01:00
Noa Resare 2f135be15f CLOUDSTACK-1415: Debian & Ubuntu packaging work
Some concepts included:

* the replace.properties location used by maven is parameterized to allow
  for a build that does not modify the currently git tracked files
* package naming is updated along the lines of what was discussed on the
  -dev mailing list and between committers at the Build a Cloud Day in Belgi
* package version pattern is updated (since we redo all package names,
  we might as well drop the epoch)
2013-02-27 15:44:46 +00:00
Noa Resare fe9df2186b Have cloud-setup-* tools detect Debian
To minimize this change, treat Debian as Ubuntu for now.

Reviewed-by: Wido (https://reviews.apache.org/r/9310)
2013-02-25 12:32:25 +05:30
Rohit Yadav 1121977513 packaging: Don't depend on cloudstack snapshot version, copy using wildcard path
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 16:42:51 +05:30
Kanzhe Jiang 736b236eaf bigswitch controller support
Reviewed-by: Chiradeep Vittal <chiradeepv@gmail.com>

Signed-off-by: Murali Reddy <murali.reddy@citrix.com>
2013-02-01 12:42:04 +05:30
Marcus Sorensen 263b8eec14 Summary: Adding utility to make system vm maintenance easier for admins
Detail: new script called cloud-ssh replaces the long
'ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@169.254.0.12'
users can now just run 'cloud-ssh 169.254.0.12'. Also adds it to deb and rpm
builds.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1353086232 -0700
2012-11-16 10:17:12 -07:00
Wido den Hollander a24ec2bdcc debian: Initial work to get the Debian packaging working again
Right now it isn't working yet, but this is the way it should start working
like the RPM package building is.

This commit is to clean up the rules file a bit and lay the groundwork for
the Debian packaging
2012-11-06 16:19:07 +01:00
Wido den Hollander 4da02c0971 deb: Have the agent depend on the System ISO
This is needed for deploying System VMs on a KVM hypervisor

Without this ISO we can't deploy this System VMs
2012-11-05 10:28:13 +01:00
Edison Su c762830fbc CLOUDSTACK-363: use the default build version number, we coded in wscript 2012-10-16 15:45:01 -07:00
David Nalley ffb5c80a6b fixing deb and rpm builds from source tarballs 2012-10-12 12:31:31 -04:00
Wido den Hollander 831ca087f8 debian: Remove symlinking of /usr/lib/cloud/agent -> common
This breaks with upgrading and the paths in the code have been fixed to look
for the correct files in the common directory.

No need for these symlinks
2012-10-07 10:18:50 +02:00
Wido den Hollander a97d2d4f38 debian: Fix package version for 4.0 2012-10-07 10:01:04 +02:00
Chip Childers ed2f1cf561 Fixed debian/changelog format error 2012-10-05 16:11:01 -04:00
Chip Childers bdf53b3889 Switching debian/changelog version to 4.0.0 2012-10-05 15:48:54 -04:00
Wido den Hollander 6a79f2f0c8 debian: Bump the version to 4.0 beta 6 2012-10-05 11:46:01 +02:00
David Nalley 3b44a692bf fixing a broken ubuntu build 2012-10-04 20:29:56 -04:00
Wido den Hollander 374aa41125 debian: Fix version number for beta1
dpkg thought it was a downgrade from rc2 to beta1, add a epoch at the front
2012-09-26 23:29:47 +02:00
Wido den Hollander e9f5c011bf debian: Don't have cloud-agent depend on libservlet2.5-java 2012-09-26 23:29:47 +02:00
Wido den Hollander 03dadddebe debian: Add docs to packages 2012-09-26 23:29:47 +02:00
Wido den Hollander 8f122a5452 debian: Fix dependencies around libcommons*java
Packages like cloud-agent were depending on various libcommons* packages
which are only used in the server and utils.

Correct the dependency for this
2012-09-26 23:29:47 +02:00
Wido den Hollander 95ad56e2da debian: Do not have cloud-agent depend on libcommons-httpclient
Already done by cloud-agent-libs
2012-09-26 23:29:47 +02:00
Wido den Hollander 768e81cd04 debian: Do not have cloud-agent depend on python
It depends on cloud-python and that depends on python already
2012-09-26 23:29:47 +02:00
Wido den Hollander 6ee35d0d37 debian: Bump the version number to beta1 2012-09-26 23:29:47 +02:00
Wido den Hollander ef48250bd9 debian: Have cloud-server depend on cloud-scripts 2012-09-26 19:46:50 +02:00
Wido den Hollander 4aa2e91a78 CLOUDSTACK-190: Add symlink for agent -> common for backwards compatibility 2012-09-24 12:45:10 +02:00
Wido den Hollander 0dc42ce849 debian: Update package version to RC2 2012-09-24 12:45:10 +02:00
Edison Su d947b3d62b change the deb build destination. By default, it's ../, which can be conflicted with other build in jenkins. Change the destination be selfcontained. 2012-09-20 17:50:36 -07:00
Edison Su 9affeddb34 remove README.html in deb build 2012-09-17 17:42:43 -07:00
Wido den Hollander 465e0466c3 debian: Remove Google GSON from cloud-agent-deps and depend on cloud-deps
Both the Agent and Server require Google GSON. This is not available from
the Ubuntu repositories, so we have to package it ourselfs.

Due to the fact that people might choose to run the Hypervisor on the same
host as the management server we can't have cloud-agent-deps conflict with cloud-deps

cloud-agent-deps now depends on cloud-deps so the hypervisor has Google GSON 1.7.1

This results in a number of extra JAR files to be installed on the hypervisor.
2012-09-14 15:03:17 +02:00
Wido den Hollander d66db854d4 debian: Add XenSource XAPI Java Bindings to cloud-deps package 2012-09-13 23:19:48 +02:00
Wido den Hollander cff12de2ca debian: Add Google GSON to the cloud-deps package 2012-09-13 23:19:48 +02:00
Wido den Hollander fed7938814 xen: Rename JAR file
cloud-xen.jar does not meet the namespace, so rename it to fit in
2012-09-13 23:19:48 +02:00
Wido den Hollander 7eaf537d95 Rename cloud-agent-scripts to cloud-scripts
The management server also depends on a couple of these scripts, so renaming
to cloud-scripts makes more sence then installing cloud-agent-scripts.

In the future we might want to split this up in two packages.
2012-09-13 16:29:01 +02:00
Wido den Hollander b892ff6630 Depend on libvirt-java 0.4.9 due to license change
0.4.9 switched from GPL to MIT
2012-09-13 16:29:01 +02:00
Wido den Hollander e426ba25ed debian: Remove vmops-* package references
In CS 3.X the name vmops wasn't used for packages, so it's safe to remove this now.
2012-09-13 16:29:01 +02:00
Wido den Hollander ababd0cbdc debian: Depend on either maven3 or maven with version 3 or higher. 2012-09-13 09:38:27 +02:00
Edison Su 17b2af2a90 on ubuntu, in order to build debs, need to add add-apt-repository ppa:natecarlson/maven3, then install maven3 2012-09-12 15:27:51 -07:00
Edison Su 29df8d8b8e remove bcprov-jdk14 2012-09-12 13:46:12 -07:00
Wido den Hollander a572e59411 debian: Remove *.conffiles files
By default any file in /etc is a conffile according to dh_installdeb compat >= 3
2012-09-11 17:47:09 +02:00
Wido den Hollander d4ca7361c1 debian: Add two JAR files to cloud-deps
These are not available through the Ubuntu or Debian repositories
2012-09-11 16:42:39 +02:00
Wido den Hollander 93126414bc debian: Get backport-util-concurrent from the Debian repositories 2012-09-11 14:03:38 +02:00
Wido den Hollander e7ff6ecd77 debian: Depend on jsch from the repository
This way we don't need to distribute the JAR in cloud-deps
2012-09-11 13:31:50 +02:00
Wido den Hollander a84ec1218d debian: Install cglib through the package manager
cglib 2.2.2 is available in Ubuntu and Debian from the repositories, no need
to ship it in the cloud-deps package.

It's also not used by cloud-agent, but by cloud-utils, so place the dependency there.
2012-09-11 13:24:26 +02:00
Wido den Hollander a6a74c7d9c debian: Depend on log4j 1.2.16 and add to CLASSPATH
Ubuntu 12.04 and Debian (testing) both ship from their repository, so there is no need
for us to distribute it in our packages.

We depend on it externally for our logging.
2012-09-10 16:42:07 +02:00
Wido den Hollander 6f03c327f5 debian: Make maven a build dependency
We require at least Maven 3.0.4 for building the Debian packages.

This is available in Debian Testing and Ubuntu 12.04
2012-09-10 16:42:07 +02:00
Wido den Hollander e77937d1cf debian: Fix homepage and maintainer
We might want to change the maintainer to the dev list?
2012-09-07 16:20:17 +02:00
Wido den Hollander 664927948a debian: Fix dependencies
We depend on more packages and not ship these JAR files ourselfs
2012-09-07 16:18:46 +02:00
Edison Su b88033ff2a fix installation issue 2012-09-07 05:12:27 -07:00
Wido den Hollander 44f1a8e015 debian: Fix package building with Maven
This involves removing a couple of JAR files from these packages:
* cloud-deps
* cloud-agent-deps
* cloud-client

A couple of libraries no longer have the cloud-* prefix or go renamed otherwise.

We no longer include the following libraries:
* netscaler
* iControl
* manageontap
* jnetpcap
* junit
* jetty
* vmware
* xenserver

These are not required anymore or not allowed license wise.
2012-09-07 02:17:16 +02:00
Wido den Hollander 9064236879 debian: Depend on the MySQL Java connector
Ubuntu and Debian provide the JDBC MySQL connector, we depend on this for running the client
2012-08-31 19:57:51 +02:00
Wido den Hollander 50ca603d04 debian: Protect agent and management configuration from being overwritten
By adding these files to the *.conffiles file we prevent them from being overwritten by dpkg.

We don't want to overwrite these files, since they can contain very specific information regarding the setup.
2012-08-21 14:57:26 +02:00
Wido den Hollander a26de19963 debian: Bump version to 4.0 RC1 2012-08-17 11:11:51 +02:00
Chip Childers 714a9fad12 License header updates for debian folder 2012-08-02 10:02:22 -04:00
Wido den Hollander cc08eee215 plugin: Rename cloud-kvm.jar to cloud-plugin-hypervisor-kvm.jar
This way we stay consistent with naming our plugins.
2012-07-31 22:18:56 +02:00
Edison Su 7a0a9231c3 Move KVM related code into plugins/hypervisor/kvm, a new jar file is
created: cloud-kvm.jar
2012-07-30 14:55:47 -07:00
Wido den Hollander 8ddb6272fa debian: Do not include the runners
Agent and Usage no longer use these runners as they run with JSVC
2012-07-25 23:09:10 +02:00
Wido den Hollander 61f38ba1b3 debian: Bump the changelog version
Although this master branch doesn't contain 3.0.2 since we moved passed that
it didn't feel apprioriate to bump the version to 4.0.0 (yet).

This file should be updated to 4.0.0 at the point where we release 4.0
2012-07-25 14:54:25 +02:00
Wido den Hollander de285bd9c8 debian: Update a couple of descriptions for the management server 2012-07-25 14:52:29 +02:00
Wido den Hollander b00f7cc983 debian: Update dependencies
No need for these packages to depend on any cloud-agent package.

If they need files from this packages, then we need to move those files.

The client/management server should never depend on agent packages.
2012-07-25 14:50:37 +02:00
Wido den Hollander 672ceed87d debian: Description update for a couple of packages 2012-07-25 14:48:38 +02:00
Wido den Hollander 0f6150b8b3 debian: Depend on lsb-base package
The init script uses LSB, so we need to depend on that
2012-07-25 14:44:53 +02:00
Wido den Hollander a1d53f288b libvirt: Replace the libvirt bindings with upstream 0.4.8
Although these bindings have to be removed for the first Apache release
we place the upstream JAR here.

The 0.4.5 bindings were homebrew and contained own code which wasn't sent upstream.

These changes were sent upstream and got into 0.4.8.

For now we keep  the 0.4.8 bindings in the repo until we have a new build system in place
which handles this.

This is still however a release blocker since we can't distribute these bindings from the Apache servers!
2012-07-24 20:11:18 +02:00
Wido den Hollander eab3e4783e Remove cloud-daemonize and use JSVC
We now use JSVC for daemonizing our agent and usage server.
2012-07-24 19:32:39 +02:00
David Nalley 2f6cef6402 fixing license statement in debian 2012-07-20 14:09:16 -04:00
Wido den Hollander 44f289e0a6 debian: Do not depend on the cloud-daemonize package
We are in the process of removing this from all packages and files
2012-07-19 13:35:27 +02:00
Edison Su dfb0eed5a4 fix ubuntu 12.04 build 2012-07-16 18:00:05 -07:00
Wido den Hollander ca8d852409 debian: Remove jnetpcap from the dependency list 2012-06-23 14:31:15 +02:00
Wido den Hollander b4c63c223f debian: Remove last files of cloud-console-proxy
This file was still left there for the "cloud-console-proxy" package, but it's used anymore.
2012-06-19 12:32:20 +02:00
Wido den Hollander 1df520c8e4 debian: Remove the Console Proxy
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2012-06-04 23:41:40 -04:00
Wido den Hollander 003d628992 debian: Do not package the css, js, ui and images directory in the agent package
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2012-05-27 19:45:04 -04:00
Alena Prokharchyk 10d9e57115 Added cisco.commands.properties to input param for ant build-apidocs target 2012-05-16 13:20:07 -07:00
frank fcc9ec2f55 don't install python files in cloud-cli.install as they have been installed in cloud-python.install 2012-04-12 11:11:58 -07:00
frank b4186eac6c CS-14411 cloud-cli missing from Ubuntu packages
resolved fixed
2012-04-12 11:11:49 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
frank 3f28c225f5 Bug 13990 - Ubuntu packages install the wrong files
contributed by Wido
reviewed-by: David N

status 13990: resolved fixed
2012-02-24 10:35:09 -08:00
frank a8a36e785f Bug 13875 - Adding a basic network zone fails during launch with "error: listVirtualRouterElements API doesn't return Virtual Router Element Id"
status 13875: resolved fixed
reviewed-by: Sheng.Yang
2012-02-22 15:31:04 -08:00
frank ab5dab719e Bug 13875 - Adding a basic network zone fails during launch with "error: listVirtualRouterElements API doesn't return Virtual Router Element Id"
status 13875: resolved fixed
reviewed-by: Sheng.Yang
2012-02-22 15:16:26 -08:00
Wido den Hollander 59f7766c04 deb: Include Tomcat configuration files
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2011-12-20 14:14:41 -05:00
Wido den Hollander b4fca4ebb4 deb: Include cloud-jasypt-1.8.jar in cloud-deps
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2011-12-20 14:14:36 -05:00
Wido den Hollander c91143a8c6 deb: Make sure that files are not in two packages, this will conflict during install
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2011-12-20 14:14:31 -05:00
Wido den Hollander 7d62a58d6a deb: Do not install components-premium.xml, it doesn't exist
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2011-12-20 14:14:26 -05:00
Wido den Hollander fcc208a38b deb: Include the correct JAR for cloud-google-gson in the agent package
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2011-12-20 14:14:20 -05:00
Edison Su 6f9bbeb2f2 fix the build 2011-12-05 10:04:53 -08:00
frank cfc24c49f4 fix dependent jar version for debian build 2011-09-23 17:40:15 -07:00
frank 0126048709 Bug 11472 - 2.2.12 beta ubuntu builds fails on install usage
add usage to debian build
reviewed-by: edison
2011-09-20 13:20:49 -07:00
frank ce7aaac91f fix debian build 2011-09-12 13:50:33 -07:00
frank d8208e7204 add dependent jars in debian build 2011-09-12 12:20:04 -07:00
frank 0f2cfd2cce add ovm to debian build 2011-09-12 12:05:59 -07:00
frank 92a053fa07 fix debian build 2011-09-12 11:39:40 -07:00
frank 2e22f5a674 fix debian build 2011-09-12 11:39:33 -07:00
frank ba9640b5d4 change debian build in line with opensource 2011-09-12 11:39:26 -07:00
alena 8a7feb8ec1 Merge branch '2.2.y'
Conflicts:
	agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
	api/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
	api/src/com/cloud/agent/api/to/FirewallRuleTO.java
	api/src/com/cloud/agent/api/to/IpAddressTO.java
	api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
	api/src/com/cloud/api/ApiConstants.java
	api/src/com/cloud/api/BaseCmd.java
	api/src/com/cloud/api/ResponseGenerator.java
	api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
	api/src/com/cloud/api/commands/CreateIpForwardingRuleCmd.java
	api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java
	api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java
	api/src/com/cloud/api/commands/DeleteLoadBalancerRuleCmd.java
	api/src/com/cloud/api/commands/ListCapabilitiesCmd.java
	api/src/com/cloud/api/commands/UpdateNetworkCmd.java
	api/src/com/cloud/api/response/CapabilitiesResponse.java
	api/src/com/cloud/network/Network.java
	api/src/com/cloud/network/NetworkService.java
	api/src/com/cloud/network/firewall/FirewallService.java
	api/src/com/cloud/network/lb/LoadBalancingRule.java
	api/src/com/cloud/network/lb/LoadBalancingRulesService.java
	api/src/com/cloud/network/rules/FirewallRule.java
	api/src/com/cloud/network/rules/RulesService.java
	api/src/com/cloud/offering/NetworkOffering.java
	client/tomcatconf/commands.properties.in
	cloud.spec
	core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
	core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
	core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
	core/src/com/cloud/storage/template/DownloadManagerImpl.java
	core/src/com/cloud/vm/DomainRouterVO.java
	debian/cloud-deps.install
	patches/systemvm/debian/config/etc/init.d/cloud-early-config
	patches/systemvm/debian/config/root/ipassoc.sh
	patches/systemvm/debian/config/root/loadbalancer.sh
	scripts/vm/hypervisor/kvm/rundomrpre.sh
	scripts/vm/hypervisor/xenserver/vmops
	server/src/com/cloud/agent/manager/AgentAttache.java
	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/agent/manager/AgentMonitor.java
	server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
	server/src/com/cloud/alert/ClusterAlertAdapter.java
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/api/ApiServer.java
	server/src/com/cloud/cluster/ClusterManagerImpl.java
	server/src/com/cloud/configuration/Config.java
	server/src/com/cloud/configuration/ConfigurationManager.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/deploy/FirstFitPlanner.java
	server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
	server/src/com/cloud/host/dao/HostDaoImpl.java
	server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
	server/src/com/cloud/network/LoadBalancerVO.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/dao/FirewallRulesDao.java
	server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
	server/src/com/cloud/network/element/DhcpElement.java
	server/src/com/cloud/network/element/VirtualRouterElement.java
	server/src/com/cloud/network/firewall/FirewallManagerImpl.java
	server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/network/rules/FirewallManager.java
	server/src/com/cloud/network/rules/FirewallRuleVO.java
	server/src/com/cloud/network/rules/PortForwardingRuleVO.java
	server/src/com/cloud/network/rules/RulesManagerImpl.java
	server/src/com/cloud/network/rules/StaticNatRuleImpl.java
	server/src/com/cloud/network/security/SecurityGroupListener.java
	server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
	server/src/com/cloud/offerings/NetworkOfferingVO.java
	server/src/com/cloud/server/ConfigurationServerImpl.java
	server/src/com/cloud/server/ManagementServerImpl.java
	server/src/com/cloud/storage/StorageManager.java
	server/src/com/cloud/storage/StorageManagerImpl.java
	server/src/com/cloud/storage/dao/VMTemplateHostDaoImpl.java
	server/src/com/cloud/storage/download/DownloadMonitorImpl.java
	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
	server/src/com/cloud/upgrade/dao/Upgrade228to229.java
	server/src/com/cloud/upgrade/dao/Upgrade229to2210.java
	server/src/com/cloud/user/AccountManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/src/com/cloud/vm/VirtualMachineManagerImpl.java
	server/src/com/cloud/vm/dao/DomainRouterDao.java
	server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
	setup/db/create-index-fk.sql
	setup/db/create-schema.sql
	setup/db/db/schema-222to224.sql
	setup/db/db/schema-227to228.sql
	setup/db/db/schema-228to229.sql
	setup/db/db/schema-229to2210.sql
	tools/testClient/README
	ui/scripts/cloud.core.instance.js
	utils/src/com/cloud/utils/SerialVersionUID.java
	utils/src/com/cloud/utils/db/ConnectionConcierge.java
	utils/src/com/cloud/utils/db/Merovingian2.java
	utils/src/com/cloud/utils/db/Transaction.java
	utils/src/com/cloud/utils/nio/Link.java
	utils/src/com/cloud/utils/nio/NioConnection.java
	utils/src/com/cloud/utils/time/InaccurateClock.java
2011-08-22 20:28:30 -07:00
frank a0bfc5da34 fix build, remove jna.jar 2011-07-19 17:48:53 -07:00
frank 250580dc83 Fix build, remove jna.jar 2011-07-19 17:46:15 -07:00
Edison Su 97d03ce9ee fix build 2011-07-08 13:33:28 -07:00
Edison Su ce4071beff add wget dependence 2011-07-08 13:18:30 -07:00
Edison Su e5833731f8 reduce cloudzone package size, hopefully down to < 5M 2011-07-08 13:17:52 -07:00
Edison Su bc64656e6a reduce agent package size 2011-07-08 13:17:39 -07:00
frank f55b747182 Add upgrade sql files to debain build 2011-07-01 16:21:33 -07:00
frank a949d2706d Add cloud-agent-deps as dependency of cloud-deps in debian build 2011-07-01 15:36:13 -07:00
frank cb9fb47617 change cloud-system-iso dependency to cloud-client in debian buil 2011-07-01 14:39:20 -07:00
frank 84ef8861fd Add cloud-system-iso as dependency of cloud-agent-scripts in debian build 2011-07-01 14:36:51 -07:00
Edison Su bccdd6c3e5 fix build 2011-06-23 10:18:58 -04:00
frank 188b59e1cc Fix debian build 2011-06-22 18:46:02 -07:00
frank ec366cef27 Fix debian build 2011-06-22 18:45:21 -07:00
Frank 5de550dea7 Bug 10343 - 2.2.5 > 2.2.6 upgrade not working on Ubuntu 10.04 builds
resolved fixed
2011-06-20 10:10:44 -07:00
Frank 8be80cf909 Bug 10343 - 2.2.5 > 2.2.6 upgrade not working on Ubuntu 10.04 builds
resolved fixed
2011-06-20 10:11:16 -07:00
Edison Su 5b6eb1cd33 add wget dependence 2011-06-14 23:38:18 -04:00
Edison Su db7a01766c reduce cloudzone package size, hopefully down to < 5M 2011-06-14 14:35:38 -04:00
Edison Su 5b19a5e731 reduce agent package size 2011-06-13 18:14:51 -04:00
David Nalley d32fcee4af more libre cleanup 2011-06-04 14:30:26 -04:00
Edison Su 2e76571004 Revert "move agent start script to upstart, to resolve the issue that agent sometimes starts before network in up state"
This reverts commit 1a2ba7eeee69f9b0a789a787383cf429e9d4c11c.
2011-05-27 12:53:53 -04:00
Edison Su 41e72a809b move agent start script to upstart, to resolve the issue that agent sometimes starts before network in up state 2011-05-27 12:01:02 -04:00
Edison Su 9528b4de4f remove cgroup on ubuntu, as sometimes it hang reboot 2011-05-26 19:03:09 -04:00
Edison Su 5c4d9c8523 add vlan dependence for cloud-agent deb package 2011-05-10 14:02:33 -04:00
Chiradeep Vittal 303e2a7481 Start of zonesfeature / mycloud/cloudkit 2011-05-03 10:40:17 -07:00
Edison Su 159f52c2ff bug 9242: add vlan dependence for ubuntu, and set name type to DEV_PLUS_VID_NO_PAD, before creating vlan
status 9242: resolved fixed
2011-03-31 19:11:15 -04:00
Frank cce3bc4d75 add genisoimage to cloud-client dependence in ubuntu 2011-03-24 18:02:43 -07:00
Frank a41fb61ea4 Add miss files and jars for ubuntu 2011-03-17 19:08:38 -07:00
Kevin Kluge 3395c566f9 set version to 2.2.2 2011-03-07 11:35:55 -08:00
alena 7cf4c375c2 cloud-set-guest-sshkey script (used by sshKey pair feature, has to be installed on the vm template) is a part of our code base now 2011-03-04 11:31:18 -08:00
Frank b70d918e0b Add database upgrade script in debian pkg 2011-02-28 14:15:55 -08:00
Frank 77fadf5c7f Revert 61a414fb8f
don't dynamically inject premium stuff
2011-02-22 14:39:02 -08:00
Frank 61a414fb8f Inject permium stuff into systemvm.iso when managment server start 2011-02-20 16:13:30 -08:00
Frank ec0bee8ad4 remove cloud-junit.jar from debian spec file 2011-02-16 18:35:24 -08:00
Frank af7cfeccf6 Add vmware-base.jar to spec file 2011-02-14 13:36:55 -08:00
alena b4ee5fa1ea Renamed get_password_from_domr to cloud-set-guest-password 2011-02-08 17:31:54 -08:00
alena ff281af035 bug 8253: get_password_from_domr is a part of source code now. It should be located under /usr/bin/ directory on the Management server once cloudstack software is installed
status 8253: resolved fixed
2011-02-01 17:40:00 -08:00
Frank 53b15e32ca remove xen scripts dir from debian build 2011-01-28 20:39:28 -08:00
Frank 32d727325a fix debian build 2011-01-28 20:22:24 -08:00
anthony 017146f753 1 use 443 to connect xapi
2. update Java binding to xenserver-5.6.100-1.jar
2011-01-18 20:15:39 -08:00
Frank Zhang d7feff5b54 add new deps packages to spec file 2010-12-09 12:45:20 -08:00
Frank Zhang 33cfd8b597 disable dpkg-shlibdeps
we don't want to check library dependences of fsimage.so, it will be always here
2010-12-06 12:08:07 -08:00
Frank Zhang 43a7bc6b0a use diffent dirs for oss scripts and premium scripts 2010-12-03 19:39:22 -08:00
anthony 01fe5bad74 remove find_bond 2010-12-03 18:43:06 -08:00
anthony a587d3cd4a fixed build 2010-12-03 12:45:31 -08:00
frank 32185d22eb Fix RPM build failed
add cloud-jstl-1.2.jar to deps package
2010-11-30 09:23:04 -08:00
anthony fff1dd874a fix classpath for xenserver-5.6.0-1 2010-11-29 15:26:07 -08:00
Anthony Xu 27829deaa1 fix ubuntu build 2010-11-18 15:12:03 -08:00
edison a0d7ee3de9 fix rpm build 2010-11-18 09:46:36 -08:00
root 57c4c132ef remove VNET from 2.2 2010-11-11 18:37:12 -08:00
alena 55b33120e7 Fixed rpm build 2010-09-22 09:31:16 -07:00
Alex Huang 7249f168d5 more file changes 2010-09-09 13:27:20 -07:00
Manuel Amador (Rudd-O) 7c2f31c33e We now have a premium scripts project. 2010-08-30 01:37:12 -07:00
Manuel Amador (Rudd-O) d36227986a require mkisofs for build processes in packaging 2010-08-27 11:14:35 -07:00
Manuel Amador (Rudd-O) a80dc4e429 Fix debian packaging for systemvm premium and systemvm iso 2010-08-27 10:58:56 -07:00
Manuel Amador (Rudd-O) cebd1da99c Added support for injecting the VMWare templates across the board, and in the packages too 2010-08-26 19:18:37 -07:00
Manuel Amador (Rudd-O) e992e8732d bug 5985: rename hotfix for bug to be consistent with other migration scripts, and include in fedora / ubuntu packaging 2010-08-26 19:18:37 -07:00
Manuel Amador (Rudd-O) f11ac7acef make it so cloud-gitrevs and cloud-sccs commands are in the packages 2010-08-11 18:16:37 -07:00
Manuel Amador (Rudd-O) 07addfed62 If git build sccs file is present, catenate it to standard output with these brand new commands 2010-08-11 18:14:55 -07:00
Manuel Amador (Rudd-O) 05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00