67 Commits

Author SHA1 Message Date
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 6a26e77514b955e5c9cbb00e51183ec74d3887a3)
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 96d6a2a03734ebbb9f41196d56c409d544a268ea)

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
b141641528 debian: cloudstack-management requires libmysql-java for SQL connection 2014-03-25 21:13:15 +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
Wei Zhou
7cdd2ef6ba add iptables/ethtool requirement on Agent in debian/control 2013-10-24 11:33:49 +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
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
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
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
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
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
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
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
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
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
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
ef48250bd9 debian: Have cloud-server depend on cloud-scripts 2012-09-26 19:46:50 +02: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
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
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
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
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
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
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
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
1df520c8e4 debian: Remove the Console Proxy
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2012-06-04 23:41:40 -04: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
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
92a053fa07 fix debian build 2011-09-12 11:39:40 -07:00