Bug 1084427
| Summary: | No stop related info shows in $cartridge.log when stop for jboss app | |||
|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Lei Zhang <lzhang> | |
| Component: | Image | Assignee: | Michal Fojtik <mfojtik> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 2.x | CC: | jdetiber, mfojtik, xtian | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1108058 1131190 (view as bug list) | Environment: | ||
| Last Closed: | 2015-02-18 16:50:09 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1108058, 1131190 | |||
|
Description
Lei Zhang
2014-04-04 10:21:19 UTC
The problem is that we send SIGKILL instead of SIGTERM to the processes, see: https://github.com/openshift/origin-server/blob/a9c5419101392a72f0429da3c66db55c1b71e5be/cartridges/openshift-origin-cartridge-jbossews/bin/control#L103 I'm going to talk about this with Dan Mace why was this necessary. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/66b7e9eb9eeb3a4666f3ad23becbe1662c1d9679 Bug 1084427 - Stop JBossEws cartridge gracefully Replace SIGKILL with SIGTERM and a fallback to force kill the processes after a timeout. See other jboss carts for reference. Verified on devenv_5089, after stop/start/restart app, related info in log file will show. ==============tailf app-root/logs/jbossews.log============== Aug 19, 2014 2:59:33 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-127.1.244.1-8080 Aug 19, 2014 2:59:34 AM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Aug 19, 2014 2:59:34 AM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-127.1.244.1-8080 Looks like this shipped with sprint 50, any reason it isn't closed? |