Bug 1052276
Summary: | [new relic] Ruby cart restart should not fail attempting to touch $OPENSHIFT_REPO_DIR/tmp/restart.txt | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Jessica Forrester <jforrest> |
Component: | Image | Assignee: | Michal Fojtik <mfojtik> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.x | CC: | bmeng, chunchen, yadu |
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-01-30 00:55:31 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: | 1057447 |
Description
Jessica Forrester
2014-01-13 14:48:29 UTC
If tmp isn't there we should fall back to the standard apache restart. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/8538a1b2dac7ae49bafe671ba89b1be4f13e5131 Bug 1052276 - Check if tmp/ directory exists before ruby restart Fyi, we are doing the full apache restart anyway. I think the reason why is to pick up environment variables changes (performance/passenv). In that case I think it does not even make a sense to touch the restart.txt. test ruby-1.8 and ruby-1.9 on devenv_4224, after ssh into app and delete app-root/repo/tmp, app can restart normally. [root@Daphne test]# rhc app restart ruby19 RESULT: ruby19 restarted Move to verified. |