cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-10012) Migrate to Embedded Jetty based mgmt server
Date Mon, 30 Oct 2017 11:30:03 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-10012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16224745#comment-16224745
] 

ASF GitHub Bot commented on CLOUDSTACK-10012:
---------------------------------------------

rhtyd commented on issue #2226: CLOUDSTACK-10012: Towards CloudStack fat jar
URL: https://github.com/apache/cloudstack/pull/2226#issuecomment-340400815
 
 
   This is ready for review now, I've personally tested this on CentOS6, CentOS7, Ubuntu 14.04
and 17.04. Pinging for review -- @marcaurele @wido @PaulAngus @DagSonstebo @DaanHoogland @nvazquez
@borisstoyanov @resmo @karuturi @fmaximus @GabrielBrascher @rafaelweingartner @ustcweizhou
@NuxRo 
   
   New configuration file updates/changes:
   - `/etc/cloudstack/management/server.properties` - single file to configure ports, webapp
directory, http/s configurations, webapp context path etc.
   - Environment configuration set at `/etc/default/cloudstack-management` (CentOS accepts
having env conf files at /etc/default, while Ubuntu uses this path most of the time)
   
   High-level changelog:
   
       - Changes packaging to shaded jar
       - Updates jetty dependencies version 9.2 (java 7+)
       - Initial changes to debian config files
       - Initial removal of tomcat dependency
       - Introduce ServerDaemon class with customizations
       - 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
   
   Limitations and future work:
   - To maintain compatibilities of both init.d/systemd scripts, we're still using `jsvc`
that can be removed as a next step (for systemd, move to java directly as a simple method
than a forking method) after this PR gets merged.
   - To allow users to manipulate SQL files during upgrade, the setup/db scripts are not embedded
into the uberjar yet and is WIP as a separate PR by @marcaurele #2247 
   - `cloudstack-setup-databases` can be refactored to use the same db deployment/upgrade
strategy as used by developers as a next step.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Migrate to Embedded Jetty based mgmt server
> -------------------------------------------
>
>                 Key: CLOUDSTACK-10012
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10012
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>             Fix For: Future, 4.11.0.0
>
>
> CloudStack installation has huge dependency on distro provided tomcat, by moving to embedded
jetty (like we do use jetty for development) we can sync how developers develop/test mgmt
servers and users use it. In addition, it will be easier to publish pkgs without depending
on distro provided dependencies.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message