Bug 1135032
| Summary: | upgrade: after upgrade swift client is issuing a warning: Module backports was already imported from /usr/lib64/python2.6/site-packages/backports/__init__.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path import pkg_resources | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Dafna Ron <dron> | ||||||
| Component: | python-swiftclient | Assignee: | Pete Zaitcev <zaitcev> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | nlevinki <nlevinki> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 5.0 (RHEL 6) | CC: | dcadzow, derekh, dron, jruzicka, scohen, sgotliv, tshefi, yeylon, zaitcev | ||||||
| Target Milestone: | --- | Keywords: | FeatureBackport, ZStream | ||||||
| Target Release: | 5.0 (RHEL 6) | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-09-02 10:46:04 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Dafna Ron
2014-08-28 17:07:49 UTC
Dafna, please run this: 0. rpm -qf /usr/lib64/python2.6/site-packages/backports/__init__.py (The python-backports that I was able to find installs into /usr/lib.) 1. Run "rpm -qa| sort" and save the result, attach to the bug. 2. 2a. curl -O http://people.redhat.com/zaitcev/tmp/xattr_load.py 2b. run "python xattr_load.py" and save, attach result in same way. I've got a system with this same problem.
RHEL6.5 RHOS 4 AIO with packstack, service by service upgrade to RHOS 5.
Same problem when issuing swift commands.
[root@cougar01 ~(keystone_admin)]# swift list --lh
/usr/lib/python2.6/site-packages/swiftclient/version.py:15: UserWarning: Module backports was already imported from /usr/lib64/python2.6/site-packages/backports/__init__.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path
import pkg_resources
0 0
Pete here are your answers:
[root@cougar01 ~(keystone_admin)]# rpm -qf /usr/lib64/python2.6/site-packages/backports/__init__.py
python-backports-1.0-3.el6.x86_64
"rpm -qa| sort" -> Attached sort.txt
python xattr_load.py -> Attached pythonOutput.txt
Let me know if you need access or anything else.
Created attachment 942200 [details]
sort.txt
Created attachment 942201 [details]
pythonOutput.txt
Not relevant anymore. |