Bug 1001713

Summary: [ORIGIN]Incorrect Openshift Environment Variable for perl-5.16
Product: OKD Reporter: Chris Ryan <cryan>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: bmeng, kraman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-24 03:21: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 Chris Ryan 2013-08-27 14:59:57 UTC
Description of problem:
When displaying the environment variables in a perl-5.16 app, the OPENSHIFT_PERL_VERSION shows OPENSHIFT_PERL_VERSION=5.10, instead of 5.16

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


How reproducible:
Always

Steps to Reproduce:
1.Create a new perl-5.16 application
rhc create-app pl516 perl-5.16

2. SSH into the app, and display the environment variables:
ssh <openshift_app>
env |grep 'OPENSHIFT_PERL_VERSION'

Actual results:
OPENSHIFT_PERL_VERSION=5.10

Expected results:
OPENSHIFT_PERL_VERSION=5.16

Additional info:

Comment 1 openshift-github-bot 2013-08-27 21:15:04 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/a9e36189258d9ac477d35ab148ac1a8ac8eb586f
Bug 1001713 - Set PERL_VERSION number in setup

* Provide support for version 5.16 on fedora and 5.10 on rhel

Comment 2 Meng Bo 2013-11-15 08:29:40 UTC
Checked with the latest origin packages on (https://mirror.openshift.com/pub/origin-server/nightly/fedora-19/latest/x86_64/)

The perl cartridge package version is:
openshift-origin-cartridge-perl-1.16.4-1.git.0.e991020.fc19.noarch

Issue has been fixed.

[app1-bmeng.example.com 5285da626892df3f9b000007]\> env|grep PERL
OPENSHIFT_PERL_VERSION=5.16
...


Move bug to verified.