Bug 1084540
Summary: | Missing python-anyjson dependency in icehouse EPEL RPMs [2014.1] | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] RDO | Reporter: | Joe Harrison <joehazzers> | ||||
Component: | openstack-glance | Assignee: | Flavio Percoco <fpercoco> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Dafna Ron <dron> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | unspecified | CC: | eglynn, fpercoco, joehazzers, yeylon | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | noarch | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-04-10 08:06:22 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
Joe Harrison
2014-04-04 15:31:24 UTC
Fix for RPC backend bug (rabbit is default) was proposed just now: https://review.openstack.org/#/c/85382/ This is somewhat related (fixes this exception happening by default on fresh default configuration installs) but does not fix the missing dependency. It's indeed a missing requirement. Thanks for catching it! Actually, I take that back. :D anyjson is an optional dependency. If present, it'll be used for (de)serializing json, otherwise the built-in json module will be used. However, it is a dependency for kombu, which will be installed as part of kombu. Here's the reference code: http://git.openstack.org/cgit/openstack/glance/tree/glance/openstack/common/jsonutils.py#n176 Which kombu package are you looking at? I'm looking at this: Installed Packages Name : python-kombu Arch : noarch Version : 1.1.3 Release : 1.el6 Size : 772 k Repo : installed From repo : epel In which, the spec file lists no dependencies (apart from build-requires for anyjson). With the above kombu installed (the SRPM's source archive shows anyjson as a requirement in the setup.py), no other packages will be removed when anyjson goes out the door: # yum remove python-anyjson Resolving Dependencies --> Running transaction check ---> Package python-anyjson.noarch 0:0.3.1-1.el6 will be erased --> Finished Dependency Resolution Dependencies Resolved Is this a missing requirement in the EPEL kombu package, then? I re-opened the bug. So, anyjson is not a Kombu dependency either. I missed the fact that you mentioned a traceback. Could you please attach the traceback to the bug report? anyjson is an optional dependency and shouldn't cause any failure. :/ Thanks for digging into this. Created attachment 883618 [details]
Glance API Debug Log
@Joe Ah, I see the bug now. This report is a duplicate of bz #1084495 I can now close it with the right status. Thanks a lot for reporting it. Also, FWIW, we'll make kombu a hard dependency again. Cheers! *** This bug has been marked as a duplicate of bug 1084495 *** |