Bug 1071807 - Failed to add postgresql-9.2 or Jenkins-clients-1 to zend-6.1.
Summary: Failed to add postgresql-9.2 or Jenkins-clients-1 to zend-6.1.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 2.x
Hardware: x86_64
OS: All
high
high
Target Milestone: ---
: ---
Assignee: Michal Fojtik
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-03 08:27 UTC by Wenjing Zheng
Modified: 2015-05-15 00:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-09 15:19:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1034552 0 medium CLOSED Postgresql-9.2 can not be added to zend-6.1 applications 2021-02-22 00:41:40 UTC

Internal Links: 1034552

Description Wenjing Zheng 2014-03-03 08:27:24 UTC
Description of problem:
a. Cannot add cartridge postgresql-9.2 to zend-6.1 with errors like below:
Failed to execute: 'control start' for /var/lib/openshift/53141c8e5599cdc7c7000045/postgresql
pg_ctl: symbol lookup error: /lib64/libldap_r-2.4.so.2: undefined symbol: ber_sockbuf_io_udp
b. Error message when add Jenkins-client-1 to zend-6.1:
Could not add job 'zend61-build' in Jenkins server:
   create_job status: 000
You'll need to correct this error before attempting to embed the Jenkins client again.
c. Below output returns if execute get_gear_ld_library_path:
/var/lib/openshift/53141c8e5599cdc7c7000045/zend/php-5.4/lib

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

How reproducible:
always

Steps:
1. Create a zend-6.1 app;
2. Add postgresql-9.2 or Jenkins-client-1 to the app

Actual result:
Please refer to the description

Expected result:
It should succeed.

Acctional info:
The issue is limited to zend-6.1 and postgresql-9.2/Jenkins-client-1, it succeeds with zend-6.1(postgresql-8.4), python-3.3(postgresql-9.2) and Jenkins-client-1 with PHP, Ruby or Python.

Comment 1 Michal Fojtik 2014-03-04 14:30:44 UTC
A PR that reverts the LD_LIBRARY_PATH_ELEMENT code from Zend until the bundled libraries are not removed/rebuilded:

https://github.com/openshift/li/pull/2439

Comment 2 Michal Fojtik 2014-03-04 14:52:16 UTC
Being merged now...

Comment 3 Wenjing Zheng 2014-03-05 01:59:00 UTC
Change back to ASSIGNED(devenv_4463):
Postgresql-9.2 and Jenkins-client-1 can be added to zend-6.1 successfully now; 

However, there is no LD path for zend after exetuting get_gear_ld_library_path(only below path returns):
/opt/rh/postgresql92/root/usr/lib64
Like for Python-2.7, below returns as expected:
/opt/rh/postgresql92/root/usr/lib64:/opt/rh/python27/root/usr/lib64

Comment 4 Wenjing Zheng 2014-03-05 08:47:44 UTC
Verified on devenv_4464:
Confirmed with Michal that there is no way how to fix the postgresql undefined symbol error, so it's correct when there is no zend ld path returns after executing get_gear_ld_library_path.


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