Rohit Yadav
25e555bd2d
packaging: rpm related fixes
...
CLOUDSTACK-7460: mgmt server package should not create agent directory
Revert "CLOUDSTACK-8402: Depend on openjdk 1.7 for both CentOS 6 and 7"
Revert "CLOUDSTACK-8404: uninstall/conflict if java-1.8.0-openjdk is installed"
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-06 01:46:21 +02:00
Rohit Yadav
3ac3534544
Revert "CLOUDSTACK-8402: EL7 rpms should depend on openjdk7"
...
This does not fail on centos7, reverting the fix.
This reverts commit 52a0adad04 .
2015-05-06 01:43:35 +02:00
Rohit Yadav
8f25be7c0f
CLOUDSTACK-8404: uninstall/conflict if java-1.8.0-openjdk is installed
...
This would force to uninstall openjdk 1.8.0 and only install 1.7 in case of ACS
4.5.x releases. On master/4.6, we might support java 1.8.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-05-03 15:04:33 +02:00
Rohit Yadav
031d7a9c43
CLOUDSTACK-8402: Depend on openjdk 1.7 for both CentOS 6 and 7
...
This commit forces rpms to depend on java-1.7.0-openjdk which is available
on both CentOS 6 and CentOS 7, also the version that ACS 4.5 supports.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-29 16:50:40 +02:00
Rohit Yadav
52a0adad04
CLOUDSTACK-8402: EL7 rpms should depend on openjdk7
...
Depend on java-1.7.0-openjdk for EL7 rpms as agent fails with openjdk8. This
fix needs to be reverted/removed to use openjdk8 once we start supporting it.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-29 16:49:25 +02:00
Satoru Nakaya
07c30895bb
fix CLOUDSTACK-8402
...
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This closes #205
2015-04-29 09:15:28 +05:30
Rohit Yadav
65a91c5bff
packaging: add net-tools dependency on kvm agent
...
net-tools packages installs ifconfig on centos systems that don't have it
like centos7.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-14 16:46:22 +05:30
Rajani Karuturi
16806b19a0
reverted 555c432946 for centos6.3 as the rpm installs java 1.6
2015-04-02 14:57:29 +05:30
Rohit Yadav
d70937aeb9
centos63: depend on java 1.7.0+ not java7 for packages
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-20 15:42:14 +05:30
Pierre-Luc Dion
304116623b
removing previously added java.security.ciphers for add distro
2015-03-19 15:36:45 -04:00
Pierre-Luc Dion
dc8ab6057f
fix centos7 rpm build, file misplaced
2015-03-19 10:16:20 -04:00
Pierre-Luc Dion
8d4f5b914e
fix build for rpm packages due to missing file java.security.ciphers
2015-03-19 09:28:36 -04:00
Rohit Yadav
d7b4a1d843
packaging: install java.security.ciphers in rpms
...
This fixes rpm build failure
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-19 14:49:59 +05:30
Rohit Yadav
d1d486cbeb
centos63: include java.security.ciphers when packaging rpms
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-19 14:45:37 +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
Star Guo
b108648f65
CLOUDSTACK-7951: Limit amount of memory used by cloudstack-agent jsvc
...
This closes #111
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-11 16:45:05 +05:30
Star Guo
555c432946
fix yum install require java => 1.7.0 when build management agent and usage rpm package
...
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This closes #108
2015-03-11 09:35:00 +05:30
Laszlo Hornyak
a0eb144987
packaging: date fix
...
rpmbuild complained about the date "Fri Oct 03 2012"
according to the calendar, Oct 3 2012 was Wednesday
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2015-03-02 02:08:17 +01:00
ghxandsky
eaf734915f
Fix cloud.spec for building management rpm, need not create agent dir but agetn rpm (kvm host agent)
2015-02-26 23:51:43 +08:00
ghxandsky
b6d9163ae2
Add distribution fedora21 in packaging/package.sh
2015-02-26 22:54:04 +08:00
Laszlo Hornyak
a9912a00b8
packaging for fedora 21
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2015-02-21 22:44:40 +01:00
Laszlo Hornyak
7319f25cf7
added net-tools to the dependencies of the agent on fedora 20
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2015-02-21 18:41:52 +01:00
Laszlo Hornyak
7340748b5c
CLOUDSTACK-8163: added fedora 20 to the help text of the package script
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2015-02-21 18:41:52 +01:00
Laszlo Hornyak
b66bf97425
CLOUDSTACK-8163: initial version of packaging for fedora 20 based on centos 7 packaging
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2015-02-21 18:41:51 +01:00
Daan Hoogland
ee82033da1
mvn on buildslaves that don't have it in path and then call it
2015-02-19 13:07:03 +01:00
Daan Hoogland
45a3ad2186
mvn on buildslaves that don't have it in path
2015-02-19 11:58:40 +01:00
Rohit Yadav
1544d090b4
CLOUDSTACK-7671: before starting run systemd-tmpfiles --create
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-19 14:55:31 +05:30
Rohit Yadav
c78d3416e7
Revert "Revert "CLOUDSTACK-7671: Management server restart failed after reboot""
...
This reverts commit e2ca6e38d5 .
2015-02-19 14:55:31 +05:30
Rohit Yadav
cb0cd50145
rhel7: keep same name as on master branch
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-18 16:38:36 +05:30
Rohit Yadav
9de521f390
rhel7: fix service name
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-18 16:29:24 +05:30
Alex Brett
45ebdf34ae
CLOUDSTACK-7469 Complete simulator build support
...
The initial commit (f96c65416a ) missed part of the change to package.sh, so we were not actually passing through the simulator build option to the rpmbuild call. This patch completes the support.
(cherry picked from commit e717450e0e )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-20 15:01:41 +05:30
Rohit Yadav
240e8ef8ac
packaging: fix rpm package warning, fix day/date
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit f702097b3e )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-20 07:49:19 +05:30
Rohit Yadav
f702097b3e
packaging: fix rpm package warning, fix day/date
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-20 07:48:26 +05:30
Rohit Yadav
dc72e9f111
packaging: fix build regression from 518853ab43
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-16 11:11:56 +05:30
Laszlo Hornyak
6b058b0203
removed -o|--operating-system from the package.sh help text
...
it does not handle the arguments, it warns for unknown option when using it
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-12-04 18:22:32 +01:00
Laszlo Hornyak
2fc3883ac0
syntax fix for packaging OSS
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-12-04 18:22:19 +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
Rohit Yadav
0128d62992
packaging: add license to missing cloud.limits
...
I think Hugo/Daan forgot to add license header on one of the new centos7
packaging :)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-28 16:10:37 +05:30
Daan Hoogland
a2acae13e3
Merge branch 'feature/centos7-rpm' of https://github.com/apache/cloudstack
2014-11-27 15:06:23 +01:00
Hugo Trippaers
b249c91bf1
Fix python reference
2014-11-26 15:18:12 +01:00
Hugo Trippaers
f9cfd4d509
Convert the usage server service to systemd
2014-11-26 15:15:06 +01:00
Rohit Yadav
19d73fe67d
CLOUDSTACK-7951: Limit amount of memory used by cloudstack-agent jsvc
...
The -Xms value specifies the minimum heap size the JVM should start with and
-Xmx is the maximum heap size it can grow. The previous fix imposed minimum
limit of 1G which is unreasonably for small deployments. The fix is to start
with 256MB and limit to 2G for cloudstack-agent process. This was tested on
DevCloud/KVM and then again on a ACS/KVM deployment on real hardware.
With these values, it's possible for the agent to work in a DevCloud/KVM
environment and if JVM needs it can increase the heap size to 2G. The fix also
ports these settings to Debian cloud-agent init.d script as well.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit bb81082e58 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 18:27:21 +05:30
Rohit Yadav
3fe1f732d7
CLOUDSTACK-7951: Limit amount of memory used by cloudstack-agent jsvc
...
The -Xms value specifies the minimum heap size the JVM should start with and
-Xmx is the maximum heap size it can grow. The previous fix imposed minimum
limit of 1G which is unreasonably for small deployments. The fix is to start
with 256MB and limit to 2G for cloudstack-agent process. This was tested on
DevCloud/KVM and then again on a ACS/KVM deployment on real hardware.
With these values, it's possible for the agent to work in a DevCloud/KVM
environment and if JVM needs it can increase the heap size to 2G. The fix also
ports these settings to Debian cloud-agent init.d script as well.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit bb81082e58 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 18:06:57 +05:30
Hugo Trippaers
870ede5a04
Add improved support for packaging CloudStack for CentOS 7
2014-11-24 18:14:26 +01:00
Keiichi Yusa
7884c750a2
CLOUDSTACK-7951
...
Limit amount of memory used by cloudstack-agent jsvc.
Signed-off-by: Edison Su <sudison@gmail.com>
2014-11-20 10:19:57 -08:00
Keiichi Yusa
1d6ca5eacb
CLOUDSTACK-7951
...
Limit amount of memory used by cloudstack-agent jsvc.
Signed-off-by: Edison Su <sudison@gmail.com>
2014-11-20 10:19:01 -08:00
Rohit Yadav
5107472a01
CLOUDSTACK-6892: use lowercase noredist, as package.sh lowercases build type
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a18d067278 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-13 17:48:56 +05:30
Rohit Yadav
a18d067278
CLOUDSTACK-6892: use lowercase noredist, as package.sh lowercases build type
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-13 17:48:11 +05:30
Damodar
34f31f9033
CLOUDSTACK-7851:MS does not start after the VM it is running on is rebooted
2014-11-10 15:07:13 +05:30
Damodar
131c2f2014
CLOUDSTACK-7851:MS does not start after the VM it is running on is rebooted
2014-11-10 14:31:43 +05:30
Alex Brett
e717450e0e
CLOUDSTACK-7469 Complete simulator build support
...
The initial commit (f96c65416a ) missed part of the change to package.sh, so we were not actually passing through the simulator build option to the rpmbuild call. This patch completes the support.
2014-10-13 10:47:42 -07:00
rayeesn
dfdf9edd52
updated packge scripts to support simularot rpm build
...
(cherry picked from commit f96c65416a )
2014-10-13 00:35:31 -04:00
Nitin Mehta
a516e5d224
Revert "CLOUDSTACK-7671: Management server restart failed after reboot"
...
This reverts commit e8f1c59212 .
(cherry picked from commit e2ca6e38d5 )
2014-10-13 00:33:58 -04:00
Damodar
7bea2f7098
CLOUDSTACK-7671: Management server restart failed after reboot
...
(cherry picked from commit e8f1c59212 )
2014-10-13 00:30:41 -04:00
Vincent Bernat
b4a2640764
CLOUDSTACK-7633: fix "Provides" in most LSB headers
...
In init.d scripts, the LSB header may specify what kind of service is
provided by an init script. If spaces are used, this means the init
script is providing several boot facilities. We fix that by using an
hyphen.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 2401eb927b )
2014-10-12 23:58:50 -04:00
rayeesn
f96c65416a
updated packge scripts to support simularot rpm build
2014-10-08 10:11:08 -07:00
Nitin Mehta
e2ca6e38d5
Revert "CLOUDSTACK-7671: Management server restart failed after reboot"
...
This reverts commit e8f1c59212 .
2014-10-07 13:30:40 -07:00
Damodar
e8f1c59212
CLOUDSTACK-7671: Management server restart failed after reboot
2014-10-07 15:01:40 +05:30
Vincent Bernat
2401eb927b
CLOUDSTACK-7633: fix "Provides" in most LSB headers
...
In init.d scripts, the LSB header may specify what kind of service is
provided by an init script. If spaces are used, this means the init
script is providing several boot facilities. We fix that by using an
hyphen.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-25 16:56:53 +02:00
rayeesn
d315a5e2c9
CLOUDSTACK-7522 : Update package.sh to exit rpm with return 1, if there are failure in build
2014-09-18 16:01:53 -07:00
Rajani Karuturi
fa1156092e
CLOUDSTACK-6926 setting java_home from installed java
...
changed the order of preference to check for java first.
Usage server rpm installs JRE 1.7. In the case where JDK 1.6 is already
installed, java version would be 1.7 but, javac would be 1.6
If javac is given preference, usage server fails to start in this case.
2014-09-12 15:17:10 +05:30
rayeesn
90287cc60a
CLOUDSTACK-6360: adding mysql-connector to class path and it will be loaded while starting cloudstack-usage
2014-09-10 14:40:56 -07:00
Leo Simons
0ec36e128b
Fix CLOUDSTACK-7476: always pass along $JAVA_HOME
...
On a secured environment (selinux w/ env_reset enabled in sudoers), the
runuser command that is invoked by the daemon() function does not pass
along environment variables, so $JAVA_HOME is empty, and JSVC falls
back to its default behavior, which may not find java or may not find
the intended java.
This fix simply passes $JAVA_HOME explicitly using the -home argument to
JSVC.
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2014-09-05 16:39:34 +05:30
Damodar
51e0488e5c
CLOUDSTACK-7316: Usage Server is not getting started when we install it on management server. This is happening when encryption is enabled. For usage server it is not able to get key file in the classpath.
2014-09-02 15:13:45 +05:30
Damodar
9ab78b7eb2
CLOUDSTACK-7106 : RPM build failing with RHEL7 (Failing while passing -p but not -o) Reviewed By : Santosh
...
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-26 11:50:05 +05:30
Damodar
7ea7deded0
CLOUDSTACK-7106 : RPM build failing with RHEL7 Reviewed By : Rayees
...
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-26 11:04:48 +05:30
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
Frank.Zhang
a0f1012903
CloudStackCLOUDSTACK-7366
...
Baremetal agent is not including in RPM spec file
2014-08-18 11:23:46 -07: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
Hugo Trippaers
539db08956
CLOUDSTACK-6892 Create separate package for the mysql HA component
2014-07-04 14:37:07 +02:00
Rajani Karuturi
c468228fe8
CLOUDSTACK-6926: removed hard coded jdk dirs and setting java home using readlink and dirname
2014-06-25 17:23:42 +05:30
rayeesn
d0c249bc9e
updating cloud-usage.rc file to start cloudstack-usage server with java 1.7
2014-05-27 14:04:38 -07:00
David Bierce
59eed9ef77
CLOUDSTACK-6552 Cloudstack-Management install package creates log
...
directory that is never used
2014-05-06 11:24:47 +02:00
ynojima
4443890c85
CLOUDSTACK-6571 bugfix: 'service cloudstack-agent stop' fails to stop the process started on boot
2014-05-04 20:47:20 -06:00
ynojima
155745e26c
CLOUDSTACK-6351 bugfix: Java1.6 is installed instead of Java7
...
Since epoch spesicifation doesn't work on RHEL6.3,
"java7" is used in the rpm spec.
Conflicts:
packaging/centos63/cloud.spec
2014-05-02 00:21:24 -06:00
Rajesh Battala
4bc9f74b2d
Removed Epoch tag/number from the cloud.spec to fix the rpm installation of Management Server, Agent and awsapi
2014-04-29 17:14:49 +05:30
ynojima
098ad53c23
Bugfix: java6 is installed instead of java7 by yum dependancy resolution.
2014-04-18 22:53:17 -06:00
Wido den Hollander
7cd2b2ae89
debian: Add JNA flag when starting agent
...
In some situations local JNA libraries might prevent the agent
from starting.
2014-03-26 13:31:02 +01:00
Marcus Sorensen
a4d3ec476f
CLOUDSTACK-6220: Take 2, Fix cloudstack init scripts so that they
...
don't use fully qualified path as script name. Fix for
commit 9dd57c22b0
2014-03-10 16:11:52 -06:00
Marcus Sorensen
d033ca486b
CLOUDSTACK-6220: Fix cloudstack init scripts so that they
...
don't use fully qualified path as script name. Fix for
commit 9dd57c22b0
2014-03-10 15:34:55 -06:00
John Kinsella
dda47dbd67
package.sh: cleaning up formatting
...
No logic changes made. Tested no syntax errors added.
2014-02-17 10:51:34 -08:00
John Kinsella
9dd57c22b0
CLOUDSTACK-6129: removing hard-coded script names
...
Replacing whatami with $0 which is how UNIX shell scripts should get the
script's name.
BUG-ID: CLOUDSTACK-6129
Bugfix-for:
Reviewed-by:
Reported-by:
Signed-off-by: John Kinsella <jlk@stratosec.co> 1392660036 -0800
2014-02-17 10:00:36 -08:00
John Kinsella
9f72443bb1
CLOUDSTACK-6123: Ensuring no color in grep output
2014-02-15 21:26:40 -08: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
Alex Hitchins
a9c25dcfa3
Added required dependancy to agent setup.
...
(cherry picked from commit 78f62c6347 )
Signed-off-by: David Nalley <david@gnsa.us>
2014-01-22 12:24:52 -05:00
rayeesn
0d24d323c0
Fix for defect CLOUDSTACK-5053, QEMU should be installed in KVM agent hosts
2014-01-10 14:03:17 -08: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
Darren Shepherd
e3280bdba2
Merge remote-tracking branch 'origin/spring-modularization'
...
Conflicts:
client/tomcatconf/applicationContext.xml.in
client/tomcatconf/nonossComponentContext.xml.in
client/tomcatconf/simulatorComponentContext.xml.in
framework/db/src/com/cloud/utils/db/Transaction.java
plugins/hypervisors/simulator/src/com/cloud/agent/manager/MockAgentManagerImpl.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2013-10-23 11:14:42 -07:00
Kishan Kavala
294b0c7277
CLOUDSTACK-4921 : Add usage service to chkconfig
2013-10-23 16:05:12 +05:30
Frank.Zhang
aca6c420b4
follow up fix for CLOUDSTACK-1049
...
add license header to cloudstack-sccs
2013-10-22 15:53:55 -07:00
rayeesn
c5c5e2367e
follow up fix for CLOUDSTACK-1049
2013-10-22 15:29:15 -07:00
Saksham Srivastava
770bfe4354
CLOUDSTACK-3583: Fix for Management server stop is not removing the PID
2013-10-22 16:20:51 +05:30
Darren Shepherd
8cf00de51d
Configuration to enable Spring Modularization
...
All of the code changes for the Spring Modularization will work in
a modularized context or a non-modularized context. This commit
is the final commit to turn modularization on. Revert this commit
to disable the modularization and go back to monolithic Spring
configuration.
2013-10-02 15:43:11 -07: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
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
Edison Su
e325fb66ab
CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2
...
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:53:55 +02:00
Edison Su
7b4f846220
CLOUDSTACK-4405: add a tool: cloudstack-agent-upgrade to upgrade bridge name on kvm host
...
(cherry picked from commit 0ef6084d2c )
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:53:05 +02:00
Hugo Trippaers
da99f6552c
Fix the spec file for the noredist build
2013-09-21 14:42:31 +08:00
Hugo Trippaers
3e48a702b9
Update usage to avoid confusion.
2013-09-21 12:36:15 +08:00
Hugo Trippaers
d0b896ed36
Simplify package.sh
2013-09-21 12:32:09 +08:00
Hugo Trippaers
4d461d5ef2
Update packaging script with the new noredist flag
2013-09-21 12:32:09 +08:00
Wei Zhou
2cc1dd4e74
change display name in /etc/init.d/cloudstack-agent from cloud-agent to cloudstack-agent
...
(cherry picked from commit add6505182 )
2013-09-06 14:20:55 +02:00
rayeesn
fa26eaafbd
CLOUDSTACK-4509 : management cache folder need to cleanup before upgrade, currently its cleaning up only for 3.x upgrade ie /var/cache/cloud, it should do that same for 4.2 also /var/cache/cloudstack
2013-08-28 11:23:22 -07:00
Hugo Trippaers
58638558a4
Minor fixes to packaging.sh, now also works (again) with snapshot build
2013-08-23 17:11:25 +02:00
Hugo Trippaers
658844ea99
Minor fix to package.sh, this prevented packages to be build for releases
2013-08-23 14:31:43 +02:00
rayeesn
c09bbd316c
CLOUDSTACK-4370 - Upgrade failing due to depenency with cloudstack-agent, changed remove dependency from cloud-agent to cloud-common
2013-08-19 15:13:23 -07:00
frank
d1b4a8d98c
CLOUDSTACK-4149
...
[upgrade][2.2.13 -> 2.2.14 -> 4.2][KVM] When we try to upgrade the KVM agent from 2.2.14 to 4.2 using the "U" option in install.sh script, management server also gets installed!
2013-08-12 14:52:28 -07:00
frank
35ab598d1f
CLOUDSTACK-4149
...
[upgrade][2.2.13 -> 2.2.14 -> 4.2][KVM] When we try to upgrade the KVM agent from 2.2.14 to 4.2 using the "U" option in install.sh script, management server also gets installed!
2013-08-12 12:11:25 -07:00
rayeesn
e80fdcda94
Fix for CLOUDSTACK-3858, 2.2.14 does not contions symbolic link to create sever.xml, we need to check both file or symbolic link exist or not in save folder
2013-08-09 17:02:14 -07:00
rayeesn
a49da6bee8
Supporting packaging for RHEL 5 and 6.2; updated macros
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-29 13:37:31 -07:00
rayeesn
a5d17c8dc7
CLOUDSTACK-2133 - Cisco VNMC xml need copy to plugins/network-elements/cisco-vnmc/scripts/network/cisco during installation
2013-07-29 11:50:48 -07: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
Wei Zhou
47b9e8ae61
add iptables/ethtool/vconfig requirement on Agent in cloud.spec
2013-07-18 09:29:26 +02:00
David Nalley
db74b2a047
adding some more groups to cli and awsapi packages - no idea why I missed those earlier.
2013-07-14 15:00:25 -04:00
David Nalley
7b3fef57fb
Adding a group to usage in spec file for RPM
2013-07-14 14:32:40 -04:00
rayeesn
3e7cebee29
Followup fix for CLOUDSTACK-2777, crypto.properties and xes.keystore moved to AWSAPI installation location and changed permission to 666
2013-07-09 21:07:32 +05:30
Rayeesn
b4f6b57ef5
Adding axis2.xml to cloudstack-bridge/webapps/awsapi/WEB-INF/conf as part of defect CLOUDSTACK-2927
2013-07-01 11:43:09 +05:30
Hiroaki KAWAI
78196384ae
CLOUDSTACK-2758: touch file for tomcat6 package change CVS 2013-1976
...
catalina.out must be prepared by package installation.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 17:00:47 +05:30
Prasanna Santhanam
55db2fe6d1
mvn clean does not do a complete clean
...
Retains the systevm.iso from the previous run causing systemvm.iso to
never update itself. Do a complete clean install for all profiles
specified in mvn.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-03 14:29:48 +05:30
Marcus Sorensen
800cd391d5
RPM build - run mvn clean before building packages, to get a build from fresh
...
source
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1369936033 -0600
2013-05-30 16:13:40 -06:00
Prasanna Santhanam
718bc97a7e
CLOUDSTACK-1824: Stop service displayed as cloud-management
...
service cloudstack-management is being displayed as cloud-management
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-30 11:12:20 +05:30
Hugo Trippaers
37ca43684b
CLOUDSTACK-2440 Print a warning if the rpm can't determine the previous configuration for server.xml or tomcat.conf
2013-05-14 11:05:04 +02:00
Hugo Trippaers
c2118180d5
CLOUDSTACK-2440 RedHat (CentOS) expects a directory with the name of the service to store initd.log
2013-05-13 16:07:46 +02:00
Nitin Mehta
c11dbad9c9
merge master
2013-05-11 15:28:43 +05:30
Hugo Trippaers
bdd5634924
CLOUDSTACK-2152 Set REALVER properly
2013-04-23 14:58:12 +02:00
Wido den Hollander
9573f51d3b
CLOUDSTACK-1977: Add management setup directory to classpath
...
This way the DB upgrade process can locate the SQL files
2013-04-18 21:32:08 +02:00
Wido den Hollander
96cf79535f
CLOUDSTACK-2033 Fix usage server logging under Debian and Ubuntu
2013-04-18 10:26:09 +02:00
Hugo Trippaers
574e716352
CLOUDSTACK-2033 Fix usage server startup and logging
...
Properly implement the Daemon interface
Initialize logging when the usage server is started as a daemon
Fix a few minor startup and packaging items.
2013-04-16 10:52:49 +02:00
Hugo Trippaers
ae16f33213
Fix a problem where usage server did not start because of a missing db.properties and log4j-cloud.xml
2013-04-15 15:02:47 +02:00
Hugo Trippaers
265cf42ffe
packaging: sync master and 4.1 for rpm packaging
2013-04-05 21:18:16 +02:00
Hugo Trippaers
1f206a4eb1
rpm: Install the LICENSE and NOTICE files
2013-04-05 18:49:44 +02:00
Hugo Trippaers
171a967437
packaging: Three times is a charm
...
Sorry about this, my packaging test system is out of order :-(
2013-04-05 17:08:15 +02:00
Hugo Trippaers
09f278f909
packaging: spark404 should test his commits
2013-04-05 16:42:42 +02:00
Hugo Trippaers
89d3808a18
packaging: move jasypt jar to cloudstack-common
...
Continuation of the work done in a35f7c7bd1
2013-04-05 16:12:27 +02:00
Hugo Trippaers
8d6bb9538a
Packaging: db-enc.properties is gone
2013-04-05 10:50:57 +02:00
David Nalley
542a339f96
CLOUDSTACK-1936 add cloudstack-agent as a service
2013-04-04 09:38:10 -04: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
28d5c959d6
debian: Update the cloudstack-management server's classpath
...
It should contain /etc/cloudstack/management so it can locate it's configuration
2013-04-03 15:57:40 +02:00
Marcus Sorensen
04a511a1a8
CLOUDSTACK-1900 : Save a default db.properties during upgrade, and make sure
...
we only pull the old configs once.
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1364966964 -0600
2013-04-02 23:29:24 -06: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
bc1ce57c9b
debian: Update the init script for the management server
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Pradeep
5a66ec35ad
CLOUDSTACK-1689: KVM agent install.sh should install ipset command
...
Added ipset in cloud.spec as part of agent install.
Signed-off-by: Pradeep <pradeep.soundararajan@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-29 16:39:35 +05:30
Marcus Sorensen
d6e11f25ac
CLOUDSTACK-1844 - fix typo in agent pre-script to allow copy of old configs
...
to new config location
Reported-by: Sangeetha Hariharan (JIRA)
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1364522608 -0600
2013-03-28 20:03:28 -06:00
Marcus Sorensen
a588efc0cc
Summary: RPM - recover configs during upgrade
...
Detail: Uninstallation of old RPMs wipes out some of the configs, and makes it
difficult to reapply existing configs. This change moves the config directory
to cloud.rpmsave, and then pulls in necessary files from that location during
post install of agent and management server.
Test passed:
install 4.0 RPMs, set up advanced zone
build 4.1 RPMs via package.sh, with this patch
install 4.1 RPMs
restart cloudstack-management, cloudstack-agent
verify management, agent, and zone is operational
BUG-ID: CLOUDSTACK-1694
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1364409632 -0600
2013-03-27 12:40:32 -06:00
Pradeep Soundararajan
582f8a0f38
BUG-ID: CLOUDSTACK-1713, CLOUDSTACK-1719
...
Summary: EC2 REST API: AWS APIs are not getting translated on the CloudStack Management Server and AWS API Installation Problems.
Fixing the class not found exception, key not found and other issues as mentioned in the above two defects.
Signed-off-by: Pradeep <pradeep.soundararajan@citrix.com>
2013-03-26 13:28:03 +00:00