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 Wed, 01 Nov 2017 10:41:00 GMT

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

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-341070902
 
 
   @wido we want to use the same rpm/deb build scripts and packages to work which is why I've
made them to use jsvc for now. For example, this allows the same deb pkg to work on Ubuntu14.04+older
versions.
   
   I refactored the systemd service scripts for both centos and ubuntu -- this allows the
systemd scripts to be same for all systemd enabled distros, however in my testing against
centos, I found that `ExecStartPre=/bin/bash -c "/bin/systemctl set-environment JARS=$(ls
/usr/share/cloudstack-management/lib/*.jar | tr '\n' ':' | sed s'/.$//')"` did not work as
expected when user was `cloud` and `Type=simple`, so I changed it to run as root user which
can set the env variable and use jsvc to fork the child process to run as `cloud` user.  I've
also noted in the limitation/future work that we may want to get rid of this in future (i.e.
move to systemd+java directly).

----------------------------------------------------------------
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
>            Priority: Major
>             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