Bug 1034645 - [fork]Environment variable OPENSHIFT_ZEND_PATH_ELEMENT is missing for zend-6.1
Summary: [fork]Environment variable OPENSHIFT_ZEND_PATH_ELEMENT is missing for zend-6.1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Vojtech Vitek
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-26 09:34 UTC by Qiushui Zhang
Modified: 2015-05-15 00:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-30 00:51:03 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Qiushui Zhang 2013-11-26 09:34:35 UTC
Description of problem:
On a zend-6.1 application, checking the environment variables.
[zd1-qiuzhang.dev.rhcloud.com 5294422ccdfdbc6465000028]\> env |grep -i path
LD_LIBRARY_PATH=/var/lib/openshift/5294422ccdfdbc6465000028/zend/php-5.4/lib:/opt/rh/ruby193/root/usr/lib64
PATH=:/bin:/usr/bin:/usr/sbin

No zend cartridge path like zend-5.6:
zend56-walter.dev.rhcloud.com 5294641ff27d2c2e77000007]\> env |grep -i path
OPENSHIFT_ZEND_PATH_ELEMENT=/usr/local/zend/bin
PATH=/usr/local/zend/bin:/usr/local/zend/bin::/bin:/usr/bin:/usr/sbin

Version-Release number of selected component (if applicable):
vvitek-Zend-QE-preserve

How reproducible:
always

Steps to Reproduce:
1. Create an zend-6.1 application
rhc app create zd1 zend-6.1
2. SSH to the gear and check the env variables
env |grep -i path
3.

Actual results:
Env variable OPENSHIFT_ZEND_PATH_ELEMENT is missing for zend-6.1
[zd1-qiuzhang.dev.rhcloud.com 5294422ccdfdbc6465000028]\> env |grep -i path
LD_LIBRARY_PATH=/var/lib/openshift/5294422ccdfdbc6465000028/zend/php-5.4/lib:/opt/rh/ruby193/root/usr/lib64
PATH=:/bin:/usr/bin:/usr/sbin

Expected results:
Cartridge path like zend-5.6 should be added.
zend56-walter.dev.rhcloud.com 5294641ff27d2c2e77000007]\> env |grep -i path
OPENSHIFT_ZEND_PATH_ELEMENT=/usr/local/zend/bin
PATH=/usr/local/zend/bin:/usr/local/zend/bin::/bin:/usr/bin:/usr/sbin

Additional info:

Comment 1 Vojtech Vitek 2013-11-26 14:09:53 UTC
Already addressed in https://github.com/openshift/li/pull/2187.

Comment 2 Qiushui Zhang 2013-11-27 02:25:03 UTC
Tested on devenv_4076.

[zd1-qiuzhang.dev.rhcloud.com 5295574115d5b55e1d000007]\> env |grep -i path
OPENSHIFT_ZEND_PATH_ELEMENT=/var/lib/openshift/5295574115d5b55e1d000007/zend/php-5.4/bin
LD_LIBRARY_PATH=/var/lib/openshift/5295574115d5b55e1d000007/zend/php-5.4/lib
PATH=/var/lib/openshift/5295574115d5b55e1d000007/zend/php-5.4/bin:/var/lib/openshift/5295574115d5b55e1d000007/zend/php-5.4/bin::/bin:/usr/bin:/usr/sbin

Mark the bug as verified.


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