Bug 1336666 - Can't create app from dancer-ex quickstart
Summary: Can't create app from dancer-ex quickstart
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Sally
QA Contact: XiuJuan Wang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-17 07:37 UTC by XiuJuan Wang
Modified: 2016-06-23 17:32 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-23 17:32:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.