Bug 1376386

Summary: [dev_preview_stg] Lack of CPAN_MIRROR environment variable value in "dancer-mysql-example" template
Product: OpenShift Online Reporter: Eduard Trott <etrott>
Component: ImageAssignee: Vu Dinh <vdinh>
Status: CLOSED CURRENTRELEASE QA Contact: Wang Haoran <haowang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, jokerman, mmccomas
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-09-23 21:20:36 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:

Description Eduard Trott 2016-09-15 09:55:17 UTC
Description of problem:
Default "dancer-mysql-example" template has no CPAN_MIRROR env variable value 

Version-Release number of selected component (if applicable):

dev_preview_stg
OpenShift Master:  v3.2.1.15-8-gc402626
Kubernetes Master: v1.2.0-36-g4a3f9c5 

How reproducible:
Always

Steps to Reproduce:
1. $ oc get template dancer-mysql-example -n openshift -o json
2. Output should contain value in "CPAN_MIRROR" env variable

Actual results:
...
        {
            "name": "CPAN_MIRROR",
            "displayName": "Custom CPAN Mirror URL",
            "description": "The custom CPAN mirror URL"
        }
...

Expected results:
...
        {
            "name": "CPAN_MIRROR",
            "displayName": "Custom CPAN Mirror URL",
            "description": "The custom CPAN mirror URL",
            "value": "https://mirror.openshift.com/mirror/perl/CPAN/"
        }
...


Additional info:

Comment 1 Ben Parees 2016-09-15 09:57:15 UTC
Seems like the online template was not customized properly.

Comment 2 Eduard Trott 2016-09-15 10:51:22 UTC
Just noticed. The same situation with "django-psql-example" template and "PIP_INDEX_URL" env var, do I need to file new bug for this?