Commit Graph

325 Commits

Author SHA1 Message Date
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
Rohit Yadav 854ab39556 Fix new url for centos pkging and baremetal python pkg
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-26 11:27:18 +05:30
Brian Spindler ae3a048350 CLOUDSTACK-1736: Changes required to get cloudstack-management service
working again.

The newly created package for cloudstack-management was not correctly
installing the service. This prevented cloud-setup-management from being
able to configure the service, and the init script didn't even believe
the service was installed. I also added sudo to the chmod command for
checking script permissions, as most scripts belong to root. It was
trying to configure the agent with cloudstack-setup-agent but the script
was still called cloud-setup-agent, so I renamed it to cloudstack-setup-agent.
2013-03-25 17:23:18 +00:00
Pradeep c305e3c5a1 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.
This fixes the above two defects and other packaging related issues.

Signed-off-by: Pradeep <pradeep.soundararajan@citrix.com>
2013-03-22 15:15:36 +00:00
Pradeep 01ea7232d9 CLOUDSTACK-1252: Failed to download default template in VMware
Proposing to modify package.sh script. Package as per OSS or NONOSS arguments.

Now package.sh will act based on the below usage i.e. with or without
arguments:

 ./package.sh -h

usage: ./package.sh [-p|--pack] [-h|--help] [ARGS]

oss|OSS         To package OSS specific
nonoss|NONOSS   To package NONOSS specific

Examples: ./package.sh -p|--pack oss|OSS
          ./package.sh -p|--pack nonoss|NONOSS
          ./package.sh (Default OSS)

Signed-off-by: Pradeep <pradeep.soundararajan@citrix.com>
2013-03-22 16:14:07 +05:30
David Nalley f0a77d67cc CLOUDSTACK-337 - first iteration of an agent SELinux policy 2013-03-16 13:26:24 -04:00
Marcus Sorensen 0ca85659a6 CLOUDSTACK-1651 - point agent scripts to correct logging location, due to move
of /var/log/cloud to /var/log/cloudstack

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1363112422 -0600
2013-03-12 12:20:22 -06:00
David Nalley bfb225bc16 CLOUDSTACK-1630 - Actually put obsoletes in the right order 2013-03-12 11:34:15 -04:00
Pradeep 594bb9b5a3 Adding awsapi in the require section of cloud.spec as it resolves issue with EC2 QUERY API Feature.
Moved the post awsapi section to the post management since it is trying to provide symb link before installing management server.

Signed-off-by: Pradeep <pradeep.soundararajan@citrix.com>
2013-03-12 09:29:04 -04:00
Wido den Hollander 7a794519a2 debian: Fix the usage server packaging 2013-03-12 14:26:10 +01:00
David Nalley 9f7b82281d commenting out docs 2013-03-11 21:58:07 -04:00
David Nalley 7a0f1bdf81 CLOUDSTACK-1631 - removing duplicate %doc declarations in -management 2013-03-11 20:18:43 -04:00
David Nalley 797eb009e2 CLOUDSTACK-1630 - awsapi package not obsoleted, which blocked upgrades 2013-03-11 20:08:00 -04:00
Marcus Sorensen ebafcf826b CLOUDSTACK-1201 - Fix update to cloud user's home dir on mgmt
server. It was printing a meaningless failure if the cloud
    user's home dir didn't need to be updated.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1362809648 -0700
2013-03-08 23:14:08 -07: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 9e02ed139f packaging: Include the Agent plugins dir in the classpath
For both the RPM and DEB packages are new directory for plugins
for the agent is created.

All JAR files in that directory will be added to the classpath
on boot of the agent.
2013-03-06 19:26:18 +01:00
Wido den Hollander 03bc74bd50 debian: Only include JAR files into the classpath 2013-03-06 19:26:18 +01:00
Hugo Trippaers 713dff537b Fix rpm build after commit 4d7dced2f8 2013-03-06 08:30:12 +01:00
Wido den Hollander 4d7dced2f8 rpm: Place the KVM Agent JAR in the lib directory
All JAR files should go into the lib directory, that also
makes building the classpath easier.
2013-03-05 16:10:38 +01:00
Wido den Hollander 72c4d6a873 packaging: Sync RPM and DEB init scripts Agent
The RPM init script was lacking some things, it is synced
now with the DEB init script.

Both prefer Java 7 over Java 6 and add the correct JAR files to the
classpath.
2013-03-05 16:10:38 +01: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
Marcus Sorensen 6317f0bd33 Summary: Update cloud user's home dir during RPM install for 4.1+
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1362185206 -0700
2013-03-01 17:46:46 -07:00
Wido den Hollander ee695ba2c8 debian / rpm: When building the classpath in the init script strip last semi-column
Remove the trailing : so we don't get them double in the classpath
2013-03-01 16:47:05 +01:00
Wido den Hollander 379177fafc debian: Remove the scripts directory from the classpath
Scripts are found by paths.script in environment.properties
2013-03-01 16:47:05 +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
Hugo Trippaers 6223520efd CLOUDSTACK-1469 Commit 2f135be1 introduced jna as a dependency for hypervisor kvm, so make sure the version from the operating system is not used anymore 2013-03-01 14:54:11 +01:00
Noa Resare 5477d096d5 rpm packaging fix: Add symlink for log4j-cloud.xml in client webapp
web.xml now references a log4j-cloud.xml relative to the webapp root
to capture early logging from spring.  This change introduces a symlink
in the client webapp to the system wide log4j-cloud.xml which works around
a problem starting cloud-management described in CLOUDSTACK-1436

CLOUDSTACK-1436: 4.1 management server fails to start from RPM...
CLOUDSTACK-1423: Unable to launch UI [HTTP Status 404 - ]

Signed-off-by: David Nalley <david@gnsa.us>
2013-02-28 19:51:05 +00:00
Marcus Sorensen 8ba91fcd72 Summary: Fix RPM installation error for cloudstack-awsapi
Detail: getting "hard link not allowed for directory" due to line 321 in
cloud.spec. Changing to symlink.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1361982798 -0700
2013-02-27 09:35:56 -07: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
Hugo Trippaers 0fa3ed9b74 Separate stderr and stdout output from jsvc 2013-02-26 18:01:07 +01:00
Hugo Trippaers d92725e846 Summary: Packaging fixes for usage
Make the usage server look in the /etc/cloudstack/usage server for the db.properties

Add the /etc/cloudstack/usage to the package as an empty dir
2013-02-26 16:40:35 +01:00
Ricardo P. Katz f323c641fd packaging: vhd-util message corrected
Change on cloud.spec for the message about vhd-utils point to the new
location of cloudstack scripts

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-02-26 11:38:22 +05:30
Hugo Trippaers 02192db9a3 Package awsapi into the cloudstack-bridge package 2013-02-25 22:26:27 +01:00
Ricardo P. Katz c1e47ad329 Changed the cloud.spec to use the right version on cloudstack-common requirement 2013-02-24 20:19:00 -05:00
Hugo Trippaers bc4abcf14d Capture stderr and stdout of the jsvc run services (agent and usage) 2013-02-22 14:13:57 +01:00
Hugo Trippaers 9b5774363d Revert "Make sure initial log messages go somewhere for agent and usage"
The dreaded wrong-tree-active-syndrome

This reverts commit 9589f9fe5f401df90f7b356c9186d012c8f887ab.
2013-02-21 11:22:50 -08:00
Pradeep Soundararajan 3279b41465 Commit review 9409 Added a global package name in the packaging script
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-21 10:40:16 +01:00
Rohit Yadav 1121977513 packaging: Don't depend on cloudstack snapshot version, copy using wildcard path
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 16:42:51 +05:30
Hugo Trippaers 1dd40518a4 Make sure initial log messages go somewhere for agent and usage 2013-02-15 15:49:51 +01:00
Marcus Sorensen ddcad148e4 Summary: centos63/package.sh, slightly better version parsing
Description: current package.sh fails if user hasn't downloaded all maven poms
prior to running package.sh. Now we match for something that vaguely resembles
a cloudstack version.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360889840 -0700
2013-02-14 17:57:20 -07:00
Marcus Sorensen 8652e5f87e Summary: Fix hanging references to /var/lib/cloud, changed to /var/cloudstack
BUG-ID: CLOUDSTACK-1201
BUG-ID: CLOUDSTACK-1196
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360786749 -0700
2013-02-13 13:22:28 -07:00
Marcus Sorensen 2be44e916d Summary: Change vhd-util check in cloud.spec to point to /usr/share/cloudstack
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360777422 -0700
2013-02-13 10:45:12 -07:00
Rohit Yadav 9fd09a7f5f console-proxy: Fix broken build system due to console-proxy moves
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-13 12:56:40 +05:30
Hugo Trippaers 28622b5e6f Don't forget the environment.properties when packaging
(cherry picked from commit 5594b1d622)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-12 16:20:15 +01:00
Hugo Trippaers 6d952a15ab Compileall does not compile single files 2013-02-08 08:16:14 +01:00
Hugo Trippaers 2f44ed0820 Include the compiled python module, so it will be removed as well when the package is removed 2013-02-07 22:43:50 +01:00
Pradeep Soundararajan a9955f155a Summary: changed the path from cloud to cloudstack.
The change in package script allowed us to create proper tar under rpmbuild/SOURCES directory

The change in the path enabled us to launch the management server properly.

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-07 13:45:30 +01:00
Hugo Trippaers db3b0d3256 Summary: Fix path so the right files are removed from the install dir 2013-02-07 13:45:30 +01:00
Hugo Trippaers 5af6d16c5d Summary: fixup spec file
Remove duplicate entries in the config dir

Fix directory permisisons of some directories

Remove the scripts from the webapp as they are packaged inside the cloudstack-common package
2013-02-06 22:44:56 +01:00
Hugo Trippaers 0cc4636a2d Summary: packaging updates
Empty paths lead to unpleasant surpises later on

Use basename to find the pid file when stopping tomcat
2013-02-05 15:06:08 +01:00
Hugo Trippaers 2234e043e2 Summary: update packaging
Change some paths to use the new cloudstack name
2013-02-05 10:47:42 +01:00
Hugo Trippaers 7625de9778 Set path to the setup files 2013-02-04 22:37:15 +01:00
Hugo Trippaers 5bf6771e60 Summary: packaging updates
Renamed a whole bunch of stuff from cloud to cloudstack

Fix startup of cloudstack-agent
2013-02-04 21:35:24 +01:00
Hugo Trippaers 7ce03b4f8e Summary: Fixup usage server for packaging
Make the start method work again with jsvc

Move the usageApplicationContext to resources and add resources to the pom.xml

Remove the old components file

Add mysql-connector as a runtime dependency

Rename the usage package and the files to cloudstack

Change paths to the new proposed locations
2013-02-03 17:49:18 +01:00
Hugo Trippaers 5476391b9f Change the package name to cloudstack and configure empty skeletons for the missing packages 2013-02-02 16:29:23 +01:00
David Nalley b077065826 adding some obsoletes and provides and adding an empty CLI package 2013-02-02 06:43:02 -05:00
Hugo Trippaers ca7b8b0a87 Package the usage server 2013-01-29 16:23:14 +01:00
Hugo Trippaers cc9110d7a1 We need these system libs to be present 2013-01-29 16:23:13 +01:00
Hugo Trippaers 91673b10b8 Summary: Get started with packaging cloud-agent
Modify the spec file to package the agent files and the scripts

Some changes to the poms to put the java dependencies in the right place.

Move the agent script to the dedicated os dir in packaging.
2013-01-07 22:18:01 +01:00
David Nalley e6b539ad73 CLOUDSTACK-456 - spec file now contains the proper licensing snippet 2012-11-07 11:25:02 -05:00
Wido den Hollander a24ec2bdcc debian: Initial work to get the Debian packaging working again
Right now it isn't working yet, but this is the way it should start working
like the RPM package building is.

This commit is to clean up the rules file a bit and lay the groundwork for
the Debian packaging
2012-11-06 16:19:07 +01:00
Chip Childers 713418c0aa Fixed license headers in 2 files
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-31 14:29:38 -04:00
Hugo Trippaers 4572bc0685 Summary: Sample packaging scripts
This is a manual merge of the maven-to-rpm branch. This commits show how an RPM
package can be built without waf. The current version only builds the management
server rpm and some related rpms like setup. The main missing items are agent rpm and
the awsapi rpm. But it should at least show how to use maven and packaging.

Several small tweaks are put into the client/pom.xml to make sure that the war
has all items required to run as a standalone war.
2012-10-30 16:31:36 +01:00