Commit Graph

43 Commits

Author SHA1 Message Date
Wido den Hollander df81898838 CLOUDSTACK-1469: Include JNA in the classpath when starting the Agent
This should have been already merged into 4.1, but didn't come through properly.

We use the JNA version shipped with CentOS 6.X since that works best with
libvirt 0.4.9
2013-03-20 15:52:14 +01:00
Pradeep Soundararajan d20bcce7a2 CLOUDSTACK-1713: EC2 REST API: AWS API Installation Problems
Description: Added the pre run for awsapi where it will create the user 'cloud' during awsapi install and removed the unwanted entries from packaging awsapi.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-19 13:09:20 -04:00
Wido den Hollander 8d333ec664 CLOUDSTACK-1415: Merge in the Debian/Ubuntu packaging work from master
This patch inclused the packaging work from master tailored for 4.1

Not everything has been tested yet, but it should generate DEB packages.

Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-14 21:02:30 -04:00
Marcus Sorensen 996b57a42d 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 15:03:12 -04:00
David Nalley 88843c00d1 CLOUDSTACK-1630 - Actually put obsoletes in the right order 2013-03-12 11:35:34 -04:00
Pradeep 4f071bcdf8 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:25:24 -04:00
David Nalley b65868d3ae CLOUDSTACK-1630 - awsapi package not obsoleted, which blocked upgrades 2013-03-11 20:41:18 -04:00
David Nalley 0dc0aefd82 CLOUDSTACK-1631 - removing duplicate %doc declarations in -management 2013-03-11 20:31:58 -04:00
Marcus Sorensen a1cbf57ca0 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-09 12:00:47 +05:30
Marcus Sorensen 97f8705610 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-02 14:04:41 -05:00
Hugo Trippaers 53e58f0501 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
(cherry picked from commit 6223520efd)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-03-01 14:58:04 +01:00
Noa Resare 0518e456ce 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:36:33 +00:00
Marcus Sorensen e2a16a12f9 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:33:18 -07:00
Noa Resare 78e8d18428 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 Belgium.
* package version pattern is updated (since we redo all package names,
  we might as well drop the epoch)
2013-02-27 15:38:55 +00:00
Hugo Trippaers 62d7dc9d37 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
(cherry picked from commit d92725e846)

Separate stderr and stdout output from jsvc
(cherry picked from commit 0fa3ed9b74)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-26 20:26:37 +01:00
Ricardo P. Katz 69370c181f 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:40:27 +05:30
Hugo Trippaers 59b3cbcd3b Package awsapi into the cloudstack-bridge package 2013-02-25 22:24:18 +01:00
Hugo Trippaers 10c78d6aa9 Small fix, regression from commit b077065826 2013-02-25 14:18:41 +01:00
Hugo Trippaers 39595d826e Capture stderr and stdout of the jsvc run services (agent and usage)(cherry picked from commit bc4abcf14d)
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-25 14:13:27 +01:00
Ricardo P. Katz 0ad9ae7a97 Changed the cloud.spec to use the right version on cloudstack-common requirement 2013-02-24 20:19:56 -05:00
Pradeep Soundararajan 8b2aabe687 Commit review 9409 Added a global package name in the packaging script
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
(cherry picked from commit 3279b41465)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-21 10:47:15 +01:00
Marcus Sorensen 06f13a2693 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:59:15 -07:00
Marcus Sorensen d4d73bfc3f 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:31:48 -07:00
Marcus Sorensen c4d8f8a80d 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:43:42 -07:00
Hugo Trippaers 5594b1d622 Don't forget the environment.properties when packaging 2013-02-12 16:18:23 +01:00
Hugo Trippaers 2bc30e8b1b Compileall does not compile single files
(cherry picked from commit 6d952a15ab)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-11 17:45:42 +01:00
Hugo Trippaers 1ec1b3f55e Include the compiled python module, so it will be removed as well when the package is removed
(cherry picked from commit 2f44ed0820)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-11 17:45:04 +01:00
Hugo Trippaers c693cfb37f Summary: Fix path so the right files are removed from the install dir
(cherry picked from commit db3b0d3256)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-07 13:47:33 +01:00
Pradeep Soundararajan 94d50fbb08 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>
(cherry picked from commit a9955f155a)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-07 13:47:26 +01:00
Hugo Trippaers 1404cf8c1f 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
(cherry picked from commit 5af6d16c5d)

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-06 23:00:28 +01:00
Hugo Trippaers b920a39eb1 Summary: packaging updates
Empty paths lead to unpleasant surpises later on

Use basename to find the pid file when stopping tomcat
(cherry picked from commit 0cc4636a2d)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:14:25 +01:00
Hugo Trippaers 38f364bb8d Summary: update packaging
Change some paths to use the new cloudstack name
(cherry picked from commit 2234e043e2)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:14:15 +01:00
Hugo Trippaers 212c53c173 Set path to the setup files
(cherry picked from commit 7625de9778)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:14:07 +01:00
Hugo Trippaers 0c890b1da5 Summary: packaging updates
Renamed a whole bunch of stuff from cloud to cloudstack

Fix startup of cloudstack-agent
(cherry picked from commit 5bf6771e60)

Conflicts:
	packaging/centos63/cloud.spec
2013-02-05 21:13:22 +01:00
Hugo Trippaers 5b8ecdad0b 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
(cherry picked from commit 7ce03b4f8e)

Signed-off-by: Hugo Trippaers <trippie@gmail.com>
2013-02-05 21:11:42 +01:00
Hugo Trippaers e72fc821b6 Change the package name to cloudstack and configure empty skeletons for the missing packages
(cherry picked from commit 5476391b9f)

Conflicts:
	packaging/centos63/cloud.spec
2013-02-05 21:11:01 +01: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