Bug 923890
| Summary: | [abrt] python-glanceclient-0.5.1-1.fc18: pkg_resources.py:588:resolve:DistributionNotFound: python-keystoneclient>=0.1.2,<0.2 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Arindam Choudhury <arindam> | ||||||||
| Component: | python-glanceclient | Assignee: | Pádraig Brady <p> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 18 | CC: | apevec, Jan.van.Eldik, jose.castro.leon, jruzicka, marc.jadoul, pbrady, p | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | abrt_hash:a38b45a788ee28e4135dc4fc5d9ff0f3397ab267 | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-03-20 22:36:37 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 713336 [details]
File: backtrace
Created attachment 713337 [details]
File: core_backtrace
Created attachment 713338 [details]
File: environ
Calling glance client from command line failed. "glance image-list" fail. It seems to require version of keystone client < than 0.2. This might be an error in glance client more than in keystone client. Same bug has been apparently corrected in other distribution ? I edited /usr/lib/python2.7/site-packages/python_glanceclient-0.5.1-py2.7.egg-info/requires.txt to remove requirement for version < than 0.2 and it fixed the problem apparently. It is unclear this requirement is still valid. Package: python-glanceclient-0.5.1-1.fc18 OS Release: Fedora release 18 (Spherical Cow) One of the changes in python-glanceclient 0.8.0 in testing, is to remove this problematic python runtime dep management: https://admin.fedoraproject.org/updates/python-glanceclient-0.8.0-1.fc18 I've just pushed that to stable, so closing this. |
Description of problem: running glance command Version-Release number of selected component: python-glanceclient-0.5.1-1.fc18 Additional info: cmdline: /usr/bin/python /usr/bin/glance image-create --name=ubuntu-12.04 --is-public=true --container-format=ovf --disk-format=raw dso_list: python-setuptools-0.6.28-3.fc18.noarch executable: /usr/bin/glance kernel: 3.8.3-201.fc18.x86_64 uid: 1000 Truncated backtrace: pkg_resources.py:588:resolve:DistributionNotFound: python-keystoneclient>=0.1.2,<0.2 Traceback (most recent call last): File "/usr/bin/glance", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2819, in <module> parse_requirements(__requires__), Environment() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve raise DistributionNotFound(req) DistributionNotFound: python-keystoneclient>=0.1.2,<0.2 Local variables in innermost frame: dist: None to_activate: [python-glanceclient 0.5.1 (/usr/lib/python2.7/site-packages), warlock 0.4.0 (/usr/lib/python2.7/site-packages)] req: Requirement.parse('python-keystoneclient>=0.1.2,<0.2') requirements: [Requirement.parse('prettytable>=0.6,<0.7'), Requirement.parse('jsonschema==0.2')] processed: {Requirement.parse('warlock<2'): True, Requirement.parse('python-glanceclient==0.5.1'): True} env: <pkg_resources.Environment object at 0x7f43e7604510> installer: None self: <pkg_resources.WorkingSet object at 0x7f43e7604890> best: {'warlock': warlock 0.4.0 (/usr/lib/python2.7/site-packages), 'python-keystoneclient': None, 'python-glanceclient': python-glanceclient 0.5.1 (/usr/lib/python2.7/site-packages)} replacement: True