Description of problem: Customers who want a unified experience with openshift and external databases (who might be using SCL version of databases) need the capability to override database function, in the rhcsh script (because they are not using SCL cartridges that can be auto discovered.)
This relates to https://github.com/openshift/origin-server/pull/6227
Re-opening this bug since the fix finally merged. The fix originally was meant to be merged but appears to have hit an issue with our automation and took ~8 months to merge: https://github.com/openshift/origin-server/pull/6227
Verify this bug with puddle 2.2/2016-12-12.1 1. Create an app 2. Log into the gear and modify ~/app-root/data/.bash_profile file with the following contents: function mongo() { echo "mongo replaced!" } function mysql() { echo "mysql replaced!" } function psql() { echo "psql replaced!" } 3. Log into it again and run `mysql`, `mongo`, and `psql` [app3-yes.ose22-auto.com.cn 5850b7ad82611d5be4000001]\> mysql mysql replaced! [app3-yes.ose22-auto.com.cn 5850b7ad82611d5be4000001]\> mongo mongo replaced! [app3-yes.ose22-auto.com.cn 5850b7ad82611d5be4000001]\> psql psql replaced!
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. https://rhn.redhat.com/errata/RHBA-2017-0017.html