Bug 1572527
Summary: | Application pod keeps restarting if build with cakephp.json | ||
---|---|---|---|
Product: | Red Hat Software Collections | Reporter: | Wenjing Zheng <wzheng> |
Component: | rh-php71-container | Assignee: | Stephen Cuppett <scuppett> |
Status: | CLOSED UPSTREAM | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | rh-php71 | CC: | aos-bugs, bparees, jokerman, jorton, mmccomas, wzheng |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-05 10:51:53 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: |
Description
Wenjing Zheng
2018-04-27 08:47:07 UTC
it works fine for me. are you able to run other SCL images on your cluster? can you try setting HTTPD_MAX_REQUEST_WORKERS to a lower value? It looks like this is an issue in the sample app[1]. When the app is brought up w/o a DB(oc new-app -f https://raw.githubusercontent.com/openshift/cakephp-ex/master/openshift/templates/cakephp.json ) and you rsh into the pod and do "curl http://localhost:8080" you get 500 errors. Accessing the app from outside the pod (via the service) or from inside the pod via the pod ip, works fine. So there is an issue w/ the sample app's routing/listener configuration. [1] https://github.com/sclorg/cakephp-ex Since Steve delivered the updates to the cakephp app most recently, assigning to him for now to investigate his changes. Note that deploying the app *with* a database also does not have this problem: oc new-app -f https://raw.githubusercontent.com/openshift/cakephp-ex/master/openshift/templates/cakephp-mysql-persistent.json (If this becomes critical for anyone, the workaround is probably to remove the liveness probe in the template. I'm not sure why, but the readiness probe, which is identical, seems to be succeeding from what I can tell because the pod is reporting as ready and accepting traffic from the service). PR #97 open for this. https://github.com/sclorg/cakephp-ex/pull/97 PR is merged, moving to ON_QA since the PR doesn't require a new OCP build. Thanks Steve! Looks like this is fixed in the example and doesn't need to be tracked against RHSCL. |