| Summary: | Python 2.7 default application template has references to python-2.6 | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Mrunal Patel <mpatel> |
| Component: | Containers | Assignee: | Rob Millner <rmillner> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | bmeng, chunchen, mfisher |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-19 16:49:12 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: | |
Pull request: https://github.com/openshift/origin-server/pull/3555 Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/03f2b6d89689da976045d94b3740022abf83f2ae Bug 1004515 - PYTHON_EGG_CACHE is passed in from the environment and does not need to hardcode. The issue is reproduced on devenv_3749. Checked this issue on devenv_3752 again, it's fixed,so change the stauts to ON_QA -> VERIFIED. |
Description of problem: [mrunal@localhost py1]$ head wsgi/application #!/usr/bin/python import os virtenv = os.environ['OPENSHIFT_PYTHON_DIR'] + '/virtenv/' os.environ['PYTHON_EGG_CACHE'] = os.path.join(virtenv, 'lib/python2.6/site-packages') virtualenv = os.path.join(virtenv, 'bin/activate_this.py') try: execfile(virtualenv, dict(__file__=virtualenv)) except IOError: pass [mrunal@localhost py1]$ Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create a python 2.7 application. 2. See the contents of wsgi/application file. Actual results: os.environ['PYTHON_EGG_CACHE'] = os.path.join(virtenv, 'lib/python2.6/site-packages') Expected results: There should be no reference to python-2.6