Bug 1336666

Summary: Can't create app from dancer-ex quickstart
Product: OpenShift Online Reporter: XiuJuan Wang <xiuwang>
Component: TemplatesAssignee: Sally <somalley>
Status: CLOSED CURRENTRELEASE QA Contact: XiuJuan Wang <xiuwang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, dmace, jokerman, mmccomas, somalley, xiuwang
Target Milestone: ---   
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: 2016-06-23 17:32:19 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 XiuJuan Wang 2016-05-17 07:37:25 UTC
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:

Comment 1 Dan Mace 2016-05-17 13:18:44 UTC
Reproduced in dev-preview-stg. Looks like something's wrong with the build image from this template.

Comment 3 XiuJuan Wang 2016-05-18 08:06:35 UTC
Test in dev-preview-stg (openshift-master v3.2.0.44)
This bugs has been fixed.App pods could be running now.
Thanks