Bug 1130362
| Summary: | app-stop can not stop all process in pyhton app with 'app.py' after start it twice | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ma xiaoqiang <xiama> |
| Component: | ImageStreams | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.1.0 | CC: | adellape, bleanhar, jokerman, libra-onpremise-devel, lmeyer, mmccomas, xtian |
| Target Milestone: | --- | Keywords: | Upstream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openshift-origin-cartridge-python-1.23.4.7-1 | Doc Type: | Bug Fix |
| Doc Text: |
A race condition in the Python cartridge's start method caused the pid file to be written incorrectly in certain situations. This could lead to problems when stopping applications. This bug fix updates the Python cartridge to address the race condition, and the issue no longer occurs as a result. After applying this fix, a cartridge migration is required.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-11 20:06:43 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: | 1114477 | ||
| Bug Blocks: | |||
|
Description
Ma xiaoqiang
2014-08-15 03:16:12 UTC
This does not appear to happen upstream. I suspect it was addressed by the PR in bug 1114477. Upstream commit:
commit 4a567c49eb6a1fae6b11eee9b82fd477fddd1ca7
Author: jhadvig <jhadvig>
Date: Mon Jun 30 16:12:03 2014 +0200
Bug 1114477: Incorrect pid written into appserver.pid upon python cartridge start action
Check on puddle [2.1.z/2014-08-25.2] 1. Create a pyhon app #rhc app create ajeamkpi python-3.3 mongodb-2.4 --from-code https://github.com/openshift-quickstart/Bottle-Python3-quickstart 2.Start the app twice #rhc app start ajeamkpi 3. Stop the app #rhc app stop ajeamkpi 4. Access the app The app is not accessible 5. Start the app, access it The app is accessible Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1183.html |