Description of problem: Create an app and ssh into the gear, some bash errors are displayed on ssh connection. Version-Release number of selected component (if applicable): On INT(not reproducible on devenv_3251) How reproducible: Always Steps to Reproduce: 1. Create a gear rhc app create phptest php-5.3 2. rhc app-ssh phptest Actual results: After step 2: Warning: Permanently added 'phptest-jhou.int.rhcloud.com,23.22.107.119' (RSA) to the list of known hosts. bash: cat: command not found bash: cat: command not found [phptest-jhou.int.rhcloud.com 519ad96f6cec0ef602000001]\> ls bash: ls: command not found Expected results: Should not have such problem Additional info:
The root cause (apparently) is that the /etc/openshift/env/PATH file contains an export statement in INT. I am double-checking with operations; we will likely need to add a note to the release ticket to have this file changed to a raw value.
PR submitted.
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/ec6f6faf3efd21076dba013c9b34828f405dcc9e Fix bug 965357: add guard against export in PATH in rhcsh
This will be fixed after the next INT deployment.
*** Bug 965827 has been marked as a duplicate of this bug. ***
This is verified on INT(devenv_3266) The error with the 'PATH' env var is fixed. [jenkins1-jhou1.int.rhcloud.com 519590486cec0e7ba800038c]\> echo $PATH :/bin:/usr/bin:/usr/sbin