Bug 1114477
| Summary: | bottle quickstart app url can be accessed after app is stopped | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Wenjing Zheng <wzheng> |
| Component: | Image | Assignee: | Jakub Hadvig <jhadvig> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | jhadvig, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-15 10:31:26 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: | 1130362 | ||
|
Description
Wenjing Zheng
2014-06-30 07:39:58 UTC
Found out that the incorrect PID is written into the appserver.pid uppon the start action, so the stop action won't kill appropriate process. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/4a567c49eb6a1fae6b11eee9b82fd477fddd1ca7 Bug 1114477: Incorrect pid written into appserver.pid upon python cartridge start action Verified on INT(devenv_4938) 1. 503 returns when access app url if stop it; 2. The process disappears after stop: [bottle33-mig2.int.rhcloud.com 53b6085b6cec0ef56c0000c0]\> ps -ef UID PID PPID C STIME TTY TIME CMD 1285 190717 190270 0 21:53 ? 00:00:00 sshd: 53b6085b6cec0ef56c0000c0@pts/0 1285 190806 190717 2 21:53 pts/0 00:00:00 /bin/bash --init-file /usr/bin/rhcsh -i 1285 192037 190806 0 21:53 pts/0 00:00:00 ps -ef |