Bug 1105107
Summary: | Incorrect PostgreSQL Version in Cron on Scalable Apps | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | ImageStreams | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 2.1.0 | CC: | adellape, cryan, gpei, jokerman, libra-onpremise-devel, mmccomas, wzheng, xiama |
Target Milestone: | --- | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-cartridge-mysql-1.23.4.4-1.el6op, openshift-origin-cartridge-postgresql-1.23.3.4-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
A bug in the MySQL and PostgreSQL cartridges prevented the PATH from being set correctly. As a result, the wrong versions of executables could be loaded. This bug fix updates the publish-ld-library-path-info hook to correctly set the PATH. A cartridge upgrade is required after applying this fix.
|
Story Points: | --- |
Clone Of: | 1086807 | Environment: | |
Last Closed: | 2014-08-26 13:52:18 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: | |
Embargoed: | |||
Bug Depends On: | 1086807 | ||
Bug Blocks: |
Description
Brenton Leanhardt
2014-06-05 12:00:10 UTC
Upstream commit: commit 603f44698df3a65d40be5d529611617edbbfd08e Author: Michal Fojtik <mfojtik> Date: Mon Apr 14 11:49:25 2014 +0200 Bug 1086807 - Advertise $PATH for scaled SCL based cartridges verify this bug with openshift-origin-cartridge-mysql-1.23.4.4-1.el6op.noarch and openshift-origin-cartridge-postgresql-1.23.3.4-1.el6op.noarch 1. Create a scalable application 2. Embed postgresql-9.2, mysql-5.5 and cron-1.4 3. Create a script to run in cron touch .openshift/cron/minutely/version.sh echo "psql --version" >> .openshift/cron/minutely/version.sh echo "mysql --version" >> .openshift/cron/minutely/version.sh git add . && git commit -m "Test." && git push 4. Check the cron log after a few minutes. ssh into the app, cat $OPENSHIFT_LOG_DIR/cron_minutely.log [app3-666.ose21z-0804.gpei.com 53df196ff2268dc7f4000087]\> cat $OPENSHIFT_LOG_DIR/cron_minutely.log __________________________________________________________________________ Mon Aug 4 01:39:05 EDT 2014: START minutely cron run __________________________________________________________________________ /var/lib/openshift/53df196ff2268dc7f4000087/app-root/runtime/repo//.openshift/cron/minutely/version.sh: psql (PostgreSQL) 9.2.8 mysql Ver 14.14 Distrib 5.5.37, for Linux (x86_64) using readline 5.1 __________________________________________________________________________ Mon Aug 4 01:39:05 EDT 2014: END minutely cron run - status=0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1095.html |