Bug 907449
| Summary: | All the python app that is using virtenv tools will get failed in OSE env deployed on RHEL6.4 | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | nsun <nsun> | |
| Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 1.1.1 | CC: | jialiu, jpazdziora, libra-onpremise-devel, lmeyer, pbelanyi, sgraf, szhou, tnovacik, xjia, xtian | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: |
Cause:
abrt-addon-python-2.0.8-15.el6.x86_64.rpm interferes with Python virtenv usage.
Consequence:
Any python applications using virtenv (very common) fail to deploy.
Fix:
Remove this package until it can be fixed.
Result:
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 976874 (view as bug list) | Environment: | ||
| Last Closed: | 2014-02-04 14:44:49 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: | 912672, 968345 | |||
| Bug Blocks: | 976874 | |||
|
Description
nsun
2013-02-04 12:33:45 UTC
Did this previously install successfully for OSE 1.1 / RHEL 6.3? Just wanting to know if this is a new problem or a problem in what we already released (please set Version flag accordingly). Version of puddle: http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.1.z/2013-02-04.1/ ... remote: " /usr/lib/python2.6/s...ols-0.6c11-py2.6.egg: remote: 'import site' failed; use -v for traceback remote: Downloading http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg remote: Traceback (most recent call last): remote: File "<string>", line 279, in <module> remote: File "<string>", line 213, in main remote: File "build/bdist.linux-i686/egg/setuptools/__init__.py", line 2, in <module> remote: File "build/bdist.linux-i686/egg/setuptools/extension.py", line 2, in <module> remote: File "build/bdist.linux-i686/egg/setuptools/dist.py", line 5, in <module> remote: File "build/bdist.linux-i686/egg/setuptools/command/install.py", line 2, in <module> remote: File "/usr/lib64/python2.6/distutils/command/install.py", line 21, in <module> remote: from site import USER_BASE remote: File "build/bdist.linux-i686/egg/site.py", line 73, in <module> remote: set remote: File "build/bdist.linux-i686/egg/site.py", line 22, in __boot remote: FOR DEBIAN, this sys.path is augmented with directories in /usr/local. remote: File "build/bdist.linux-i686/egg/site.py", line 73, in <module> remote: set remote: File "build/bdist.linux-i686/egg/site.py", line 33, in __boot remote: remote: File "/var/lib/openshift/359da0cd9348401c8c33b6cd5894a7a9/python-2.6/virtenv/lib64/python2.6/site.py", line 677, in <module> remote: main() remote: File "/var/lib/openshift/359da0cd9348401c8c33b6cd5894a7a9/python-2.6/virtenv/lib64/python2.6/site.py", line 660, in main remote: paths_in_sys = virtual_addsitepackages(paths_in_sys) remote: File "/var/lib/openshift/359da0cd9348401c8c33b6cd5894a7a9/python-2.6/virtenv/lib64/python2.6/site.py", line 618, in virtual_addsitepackages remote: return addsitepackages(known_paths, sys_prefix=sys.real_prefix) remote: File "/var/lib/openshift/359da0cd9348401c8c33b6cd5894a7a9/python-2.6/virtenv/lib64/python2.6/site.py", line 273, in addsitepackages remote: addsitedir(sitedir, known_paths) remote: File "/var/lib/openshift/359da0cd9348401c8c33b6cd5894a7a9/python-2.6/virtenv/lib64/python2.6/site.py", line 203, in addsitedir remote: addpackage(sitedir, name, known_paths) remote: File "/var/lib/openshift/359da0cd9348401c8c33b6cd5894a7a9/python-2.6/virtenv/lib64/python2.6/site.py", line 172, in addpackage remote: exec(line) remote: File "<string>", line 1, in <module> remote: ImportError: No module named abrt_exception_handler remote: ---------------------------------------- remote: ...Installing setuptools...done. remote: Traceback (most recent call last): remote: File "/usr/bin/virtualenv", line 3, in <module> remote: virtualenv.main() remote: File "/usr/lib/python2.6/site-packages/virtualenv.py", line 928, in main remote: never_download=options.never_download) remote: File "/usr/lib/python2.6/site-packages/virtualenv.py", line 1040, in create_environment remote: search_dirs=search_dirs, never_download=never_download) remote: File "/usr/lib/python2.6/site-packages/virtualenv.py", line 593, in install_setuptools remote: search_dirs=search_dirs, never_download=never_download) remote: File "/usr/lib/python2.6/site-packages/virtualenv.py", line 567, in _install_req remote: cwd=cwd) remote: File "/usr/lib/python2.6/site-packages/virtualenv.py", line 1006, in call_subprocess remote: % (cmd_desc, proc.returncode)) remote: OSError: Command /var/lib/openshift/3...6/virtenv/bin/python -c "#!python remote: \"\"\"Bootstra...sys.argv[1:]) remote: remote: remote: remote: remote: remote: remote: " /usr/lib/python2.6/s...ols-0.6c11-py2.6.egg failed with error code 1 remote: /usr/libexec/openshift/cartridges/python-2.6/info/bin/build.sh: line 30: ./bin/activate: No such file or directory remote: running develop remote: error: can't create or remove files in install directory remote: remote: The following error occurred while trying to add or remove files in the remote: installation directory: remote: remote: [Errno 13] Permission denied: '/usr/lib/python2.6/site-packages/test-easy-install-24162.write-test' remote: remote: The installation directory you specified (via --install-dir, --prefix, or remote: the distutils default setting) was: remote: remote: /usr/lib/python2.6/site-packages/ ... Version of puddle: http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.1.z/2013-02-06.2/Client/x86_64/os/Packages/ Results: Failed to install Django for app. Tested on OSE 1.1 / RHEL 6.3, Django installed is Successed after git push. I think this is a new problem. Version of puddle: http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.1.z/2013-02-18.3/ Results: Failed to install Django for python app. Setup OSE env using 1.1.z/2013-02-18.3 puddle on RHEL6.4, all the python app that is using virtenv will get failed as above comments. e.g: flask, webpy, Bottle quickstart app, and so on. Originally this error did not happen for me. Eventually I found Bug #912672 and later determined that the bug is related to abrt-addon-python-2.0.8-15.el6.x86_64.rpm being installed. If you uninstall that package the error goes away. I'm assuming a Z-stream release will be issued for the abrt package but I will follow up. Error goes away after remove abrt-addon-python-2.0.8-15.el6.x86_64.rpm package. This bug is blocking python cartridge testing, QE think it is necessary to fix it in 1.2 release. Install and upgrade scripts have been updated to remove abrt-addon-python - this is the workaround given in bug 976874. Waiting on abrt-addon-python for an actual fix. Given a workaround exists, lowering severity. Verified on puddle [1.2/2013-09-23.2]. OS version : RHEL6.5 Beta (Santiago) abrt-addon-python version : 2.0.8-21.el6.x86_64 |