Rohit Yadav
bb81082e58
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>
2014-11-25 18:03:53 +05:30
Keiichi Yusa
20de43fd79
CLOUDSTACK-7951
...
Limit amount of memory used by cloudstack-agent jsvc.
Signed-off-by: Edison Su <sudison@gmail.com>
(cherry picked from commit 7884c750a2 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 17:45:59 +05:30
Rohit Yadav
2aabcc11d3
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:49:57 +05:30
Vincent Bernat
08cb7ef7fa
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:19 +02:00
Sebastien Goasguen
7e2888b4cf
Merge branch 'hotfix/4.3/7038' into 4.3
2014-08-20 08:47:27 -04:00
Rohit Yadav
907d39fb94
CLOUDSTACK-6892: Create separate package for the mysql HA component
...
Manually picked from Hugo's fix: 539db08956
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-20 12:00:08 +02:00
Rohit Yadav
2028ca4b2d
CLOUDSTACK-7038: Add mysql client dependency for mgmt server/rpms
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-20 11:47:00 +02:00
Rajani Karuturi
3bf4c29431
CLOUDSTACK-6926: removed hard coded jdk dirs and setting java home using readlink and dirname
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-07-03 15:08:18 +02:00
Wido den Hollander
7d473fa8ea
debian: Add JNA flag when starting agent
...
In some situations local JNA libraries might prevent the agent
from starting.
2014-04-14 13:27:08 +02:00
rayeesn
d672aecac9
CLOUDSTACK-6360: adding mysql-connector to class path and it will be loaded while starting cloudstack-usage
2014-04-08 16:08:10 -07:00
Frank.Zhang
5b2cdf4179
CLOUDSTACK-6155
...
Baremetal agent RPM missing in spec file
(cherry picked from commit 20efa0c8a6 )
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-04 23:39:03 -08:00
Alex Hitchins
e53a9d9c56
Added required dependancy to agent setup.
...
(cherry picked from commit 78f62c6347 )
Signed-off-by: Animesh Chaturvedi <animeshc@apache.org>
2014-01-22 13:04:06 -08:00
rayeesn
db02388eb0
Fix for defect CLOUDSTACK-5053, QEMU should be installed in KVM agent hosts
2014-01-10 14:01:00 -08:00
Wei Zhou
b1c02b4755
Remove cloudmanagementserver.keystore from installation
...
(cherry picked from commit 3855922378 )
2013-11-11 18:12:28 +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