Description of problem: The online supported dancer-mysql-example template uses https://github.com/openshift/dancer-ex as source repo. After build, the pod can't be running due to error: [Tue May 17 02:03:40.014818 2016] [core:notice] [pid 1] AH00094: Command line: 'httpd -C Include /opt/app-root/etc/httpd.conf -D FOREGROUND' [Tue May 17 02:03:48.032292 2016] [perl:error] [pid 20] [client 10.1.5.1:53136] Error while loading /opt/app-root/src/bin/app.psgi: Global symbol "$ping" requires explicit package name at /opt/app-root/src/bin/../lib/default.pm line 52.\nGlobal symbol "$ping" requires explicit package name at /opt/app-root/src/bin/../lib/default.pm line 52.\nsyntax error at /opt/app-root/src/bin/../lib/default.pm line 52, near ") {"\nsyntax error at /opt/app-root/src/bin/../lib/default.pm line 57, near "elsif"\nGlobal symbol "$ping" requires explicit package name at /opt/app-root/src/bin/../lib/default.pm line 57.\nsyntax error at /opt/app-root/src/bin/../lib/default.pm line 60, near "}"\nCompilation failed in require at /opt/app-root/src/bin/app.psgi line 8.\nBEGIN failed--compilation aborted at /opt/app-root/src/bin/app.psgi line 8.\n Version-Release number of selected component (if applicable): https://github.com/openshift/dancer-ex How reproducible: always Steps to Reproduce: 1.Create app using dancer-mysql-example template. 2.Check app pod. 3. Actual results: Pod can't be running. Expected results: dancer-mysql-example pod should be running. Additional info:
Reproduced in dev-preview-stg. Looks like something's wrong with the build image from this template.
Fixed in https://github.com/openshift/dancer-ex/commit/db2a0532c7ee7fa30561477383567234e53c6e15. Please re-test.
Test in dev-preview-stg (openshift-master v3.2.0.44) This bugs has been fixed.App pods could be running now. Thanks