18 Commits

Author SHA1 Message Date
Rohit Yadav
eda3b35bfa CLOUDSTACK-10012: Migrate to Embedded Jetty
- Migrate to embedded Jetty server.
- Improve ServerDaemon implementation.
- Introduce a new server.properties file for easier configuration.
- Have a single /etc/default/cloudstack-management to configure env.
- Reduce shaded jar file, removing unnecessary dependencies.
- Upgrade to Spring 5.x, upgrade several jar dependencies.
- Does not shade and include mysql-connector, used from classpath instead.
- Upgrade and use bountcastle as a separate un-shaded jar dependency.
- Remove tomcat related configuration and files.
- Have both embedded UI assets in uber jar and separate webapp directory.
- Refactor systemd and init scripts, cleanup packaging.
- Made cloudstack-setup-databases faster, using `urandom`.
- Remove unmaintained distro packagings.
- Moves creation and usage of server keystore in CA manager, this
  deprecates the need to create/store cloud.jks in conf folder and
  the db.cloud.keyStorePassphrase in db.properties file. This also
  remove the need of the --keystore-passphrase in the
  cloudstack-setup-encryption script.
- GZip contents dynamically in embedded Jetty

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-11-03 23:57:25 +05:30
Wido den Hollander
92e3ba2053 CLOUDSTACK-8818: Use MySQL native connector with Python
MySQLdb has been deprecated and is also not supported in Python 3.

mysql.connector is a connector written in Python which talks the
native MySQL protocol without any external code.

https://dev.mysql.com/doc/connector-python/en/
2016-05-04 23:28:52 +02:00
jeff
e0e65f5cd6 Add support for not (re)starting server after cloud-setup-management.
This adds an option to the cloud-setup-management script to not start
the management server after a successful configuration of it. The
primary motivation for this is to avoid circular dependency issues on
systems that use systemd. When calling cloud-setup-management from a
unit with a Before= directive on a service depending on
cloudstack-management, the process will deadlock because
/usr/bin/service will delegate to systemd, which is waiting for the
Before service to start.
2015-12-04 09:58:39 +00:00
David Amorim Faria
3c4a24cf2c CLOUDSTACK-9049: fix Centos7 with Tomcat7 packaging and python libs
* adjust library to support tomcat7 config files
* adjust centos7 spec to use tomcat7 config files from deployment
* add option to use tomcat7 files in management server setup
2015-11-10 11:55:19 +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
Noa Resare
127867cc99 Improved handling of unknown OS, Distribution
Introduce UnknownSystemExcpetion to indicate that the system is
is unknonwn. Catch said exception in cloud-setup-management,
print an error and exit.

CLOUDSTACK-966: Improve error reporting when running on unknown OS / version

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-01-13 15:08:04 +05:30
Chip Childers
99b0ea7b10 License header update for the client folder 2012-08-01 13:49:10 -04:00
frank
c7b3c81485 Bug 9479 - provide option for built in https
small fix on cloud-setup-managment
2011-09-01 17:09:06 -07:00
frank
1ce0ad67c8 Bug 9479 - provide option for built in https
status 9479: resolved fixed
2011-09-01 16:01:28 -07:00
Edison Su
0b6fe0523d fix setup-managment script 2011-05-09 13:21:34 -04:00
Edison Su
736ed1ba69 rename cloud to cloudutils 2011-05-09 10:09:09 -04:00
Edison Su
cbf2b03e31 refactore cloud related tools 2011-05-06 19:54:52 -04:00
Frank
eaf6468144 Bug 9542 - install on CentOS 5.6 does not work
get rid of augtool from setup script
nstall on CentOS 5.6 does not work#	.wscript_build.swp
2011-04-22 14:44:44 -07:00
David Nalley
2a00f8f950 adding paths to a few commands for bug 9319 2011-04-07 16:50:39 -04:00
Frank
e49a59de8c bug 8314 - Iptables is being appended with same set of rules again and again on each re-installation of the management
server: master branch
status 8314: resolved fixed
2011-02-03 11:39:13 -08:00
Frank
23b9a2452d Bug 8034 - cloud-setup-management errors out
Status 8034: resolved fixed
2011-02-01 11:50:17 -08:00
Manuel Amador (Rudd-O)
b96544e475 read_properties imported from cloud_utils 2010-08-19 10:50:38 -07:00
Manuel Amador (Rudd-O)
05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00