Commit Graph

106 Commits

Author SHA1 Message Date
Wei Zhou de448ec479 CLOUDSTACK-5042: change cloud.keystore to cloudmanagementserver.keystore and install it 2013-11-07 11:09:06 +01:00
rayeesn 435689c9ea CLOUDSTACK-1049 : git commit from installed cloudstack setup 2013-10-24 10:58:48 -07:00
Kishan Kavala 76dab960da CLOUDSTACK-4921 : Add usage service to chkconfig 2013-10-23 16:04:24 +05:30
Saksham Srivastava 88882a914c CLOUDSTACK-3583: Fix for Management server stop is not removing the PID 2013-10-22 16:48:47 +05:30
Hugo Trippaers 40716daeed Backport fixes on package.sh to the 4.2 branch 2013-10-04 10:01:06 +02:00
animesh 86c93637f5 Merging 4.2-forward into 4.2 2013-10-02 23:05:34 -07:00
Wei Zhou a0988780ad 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
2013-09-24 09:14:15 +02:00
frank 097ad0b5fe Add Baremetal agent package back to RPM spec file
(cherry picked from commit d58044ccba)

Signed-off-by: animesh <animesh@apache.org>
2013-09-13 11:26:27 -07:00
frank d58044ccba Add Baremetal agent package back to RPM spec file 2013-09-12 14:14:23 -07:00
Edison Su 1b684ac231 CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2
(cherry picked from commit 3cca6502a1)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:17:38 -07:00
Edison Su ad3794df91 CLOUDSTACK-4405: add a tool: cloudstack-agent-upgrade to upgrade bridge name on kvm host
(cherry picked from commit 0ef6084d2c)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:57:08 -07:00
rayeesn c43a998264 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
(cherry picked from commit 63c8b147fe)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 14:31:24 -07:00
Edison Su 3cca6502a1 CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2 2013-08-29 16:45:26 -07:00
Edison Su 0ef6084d2c CLOUDSTACK-4405: add a tool: cloudstack-agent-upgrade to upgrade bridge name on kvm host 2013-08-28 15:49:06 -07:00
rayeesn 63c8b147fe 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:22:41 -07:00
Hugo Trippaers 8689f7f504 Minor fixes to packaging.sh, now also works (again) with snapshot build 2013-08-23 17:06:44 +02:00
Hugo Trippaers db9f5243c3 Minor fix to package.sh, this prevented packages to be build for releases 2013-08-23 14:28:47 +02:00
rayeesn 12f36b8dbb CLOUDSTACK-4370 - Upgrade failing due to depenency with cloudstack-agent, changed remove dependency from cloud-agent to cloud-common 2013-08-19 15:12:41 -07:00
frank b6a523e015 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:49:15 -07:00
frank ab7a9339b4 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 11:10:16 -07:00
rayeesn 90457edb41 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:01:38 -07:00
rayeesn 649d7d703c Supporting packaging for RHEL 5 and 6.2; updated macros
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-29 13:39:21 -07:00
rayeesn 97c9a9664f CLOUDSTACK-2133 - Cisco VNMC xml need copy to plugins/network-elements/cisco-vnmc/scripts/network/cisco during installation 2013-07-29 13:39:14 -07:00
Wei Zhou 8cd3a9725a add iptables/ethtool/vconfig requirement on Agent in cloud.spec 2013-07-18 09:38:33 +02:00
David Nalley 6f5d398839 adding some more groups to cli and awsapi packages - no idea why I missed those earlier. 2013-07-14 14:59:43 -04:00
David Nalley 9797f53f58 Adding a group to usage in spec file for RPM 2013-07-14 14:33:38 -04:00
rayeesn 2005aae7ac Followup fix for CLOUDSTACK-2777, crypto.properties and xes.keystore moved to AWSAPI installation location and changed permission to 666 2013-07-09 21:09:08 +05:30
Rayeesn 9b722f4ccc Adding axis2.xml to cloudstack-bridge/webapps/awsapi/WEB-INF/conf as part of defect CLOUDSTACK-2927 2013-07-01 11:50:25 +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
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
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
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