249 Commits

Author SHA1 Message Date
Rohit Yadav
e5d3084526 CLOUDSTACK-8339: Allow non-root users to add KVM host
This allows non-root users to add KVM hosts, the user should be an admin or
added to sudoers to execute sudo cloudstack-setup-agent.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Remi Bergsma <apache@remi.nl>

This closes #288

(cherry picked from commit d2b0c1a32b2d8719eafd6d4574de9a824d46d290)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-25 14:36:29 +02:00
Daan Hoogland
22ee66eea6 debian snapshot packaging break on merged versioning 2015-05-22 09:17:55 +02:00
Rene Moser
7451f13f91 debian: allow tomcat7 as optional dependency
This closes #247

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-13 15:40:52 +02:00
Daan Hoogland
1c408dec37 Merge branch '4.5' after 4.5.1 vote passes 2015-05-07 16:03:26 +02:00
Rohit Yadav
58999daafe CLOUDSTACK-8433: remove awsapi rpm and debian packaging
- Removes awsapi packaging rules for debian, centos63, centos7, fedora 20/21
- Removes catalina port 7080 service configs
- Fixes build replace properties for AWSAPILOG
- Removes maven profile for building awsapi and deploying db in developer profile

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-06 15:22:04 +02:00
Rohit Yadav
464af9cb29 debian: allow openjdk1.8 as optional dependency
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-06 02:19:04 +02:00
Rohit Yadav
54f3e7733f debian: allow openjdk1.8 as optional dependency
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-06 02:09:41 +02:00
Rohit Yadav
0eb4eb2370 Updating pom.xml version numbers for release 4.5.1
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-04 12:17:03 +02:00
Rohit Yadav
a86034e36c debian: force maven to use the default $home/.m2 repo
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-30 19:03:53 +02:00
Rohit Yadav
67a23554cf debian: don't force local repo this breaks jenkins builds wrt noredist
A better solution in future could be to pass the custom maven repo in local dir
from ACS_BUILD_OPTS instead of putting it here

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-30 18:27:01 +02:00
Rohit Yadav
a8dfa85744 debian: add 4.5.1-snapshot to changelog
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-19 14:45:15 +05:30
Harikrishna Patnala
ac1a2207ef CS-17504: Weak SSL ciphers supported by the management server
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 20a63c409d52b2c3dffc8ea58dd25ffb7e55d0e8)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	packaging/centos63/cloud.spec
2015-03-13 15:02:27 +05:30
Harikrishna Patnala
f947fad197 CS-17504: Weak SSL ciphers supported by the management server
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-13 13:25:33 +05:30
Wido den Hollander
8e5fefc66c Fix Python path for Debian installer
This closes #96
2015-03-05 16:25:17 +01:00
Felix Geyer
bb16d48f0c Register the init scripts.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:39:55 +01:00
Felix Geyer
b77198def5 Use invoke-rc.d instead of service to stop tomcat.
Debian policy requires that invoke-rc.d is used.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:39:54 +01:00
Felix Geyer
705af84141 Remove dependencies on essential packages.
They are guaranteed to be present on Debian systems.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:39:54 +01:00
Felix Geyer
b482766c61 Add dependency on ${misc:Depends} to all packages.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:39:54 +01:00
Felix Geyer
05f865ffd5 Add adduser dependency to cloudstack-management.
Used in the postinst script.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:39:54 +01:00
Felix Geyer
b338e88e40 Add proper python dependencies.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:39:54 +01:00
Felix Geyer
465b3e9d1a Install python files into the correct path.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:39:54 +01:00
Felix Geyer
71b42e266f Use /bin/sh and set -e uniformly in maintainer scripts.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:35:53 +01:00
Felix Geyer
6ce9729580 Add DEBHELPER tokens to maintainer script.
dh_* tools insert their scripts there.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:35:53 +01:00
Felix Geyer
01e28a31bc Convert debian/rules to short dh-style.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:35:52 +01:00
Felix Geyer
6e0867b307 Specify maven repo location.
By default it chooses a location based on $HOME which is not guranteed to
have a proper value on buildds.

We also need to take care of cleaning it up after the build.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:35:52 +01:00
Felix Geyer
f1301a2c5d Swap maven3 | maven build-dependency.
maven3 is not a package in Debian and buildds look only at the
first alternative.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:35:52 +01:00
Rohit Yadav
b9f705f238 debian: remove old cache after upgrade
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit d4ead2c72ad8d761b87e1672552a67c7cfeff51b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-07 01:39:43 +05:30
Rohit Yadav
d4ead2c72a debian: remove old cache after upgrade
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-07 01:38:11 +05:30
Wei Zhou
e9ce0df5d8 CLOUDSTACK-7316: usage server cannot start due to missing key in /etc/cloudstack/usage/ in Ubuntu setup
(cherry picked from commit 6fb9746e5eeacadc10b7d0977b03959683058b33)
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 43f39a1ec37de08e5b8e97dfd74a853c0aae76c7.
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 43f39a1ec37de08e5b8e97dfd74a853c0aae76c7)
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 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
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 38559223780fa0471f9b497102c3c727ae47382f)
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 de448ec4792eda5b47d79b26e9cb8ce96a2b22f4) 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