Description of problem: When checking the version number of postgresql via cron, an incorrect version is shown for scalable apps. This does not appear to affect non-scalable apps, and works correctly there. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create a scalable application rhc create-app testapp1 php-5.4 -s 2. Embed postgresql-9.2 and cron-1.4 rhc cartridge add cron-1.4 -a testapp1 rhc cartridge add postgresql-9.2 -a testapp1 3. Create a script to run in cron cd testapp1 touch .openshift/cron/minutely/version.sh echo "psql --version" >> .openshift/cron/minutely/version.sh git add . && git commit -m "Test." && git push 4. Check the cron log after a few minutes rhc ssh testapp1 cat $OPENSHIFT_LOG_DIR/cron_minutely.log Actual results: the log shows: psql (PostgreSQL) 8.4.20 Expected results: psql (PostgreSQL) 9.2 Additional info: This may be related to: https://bugzilla.redhat.com/show_bug.cgi?id=1076626
This issue exists on puddle [2.1/2014-04-17.2]
https://github.com/openshift/origin-server/pull/5256
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/603f44698df3a65d40be5d529611617edbbfd08e Bug 1086807 - Advertise $PATH for scaled SCL based cartridges