Bug 846730
Summary: | Exception when resolving dependencies using the yum importer | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Jay Dobies <jason.dobies> |
Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0.6 | CC: | skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | Sprint 39 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-01-09 17:09:23 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: |
Description
Jay Dobies
2012-08-08 14:22:40 UTC
The criteria above produces no matching units (forgot we don't have a "pulp" package anymore). The following criteria will match units, however I see the same error. {'criteria': {'filters': {'unit': {'name': 'pulp-server'}}, 'type_ids': ['rpm']}} fixed! commit 4b37b94d6e6c7279c03848a46b9709faf672e31b build: 0.322 This isn't in the CLI, so to verify you'll have to use pic. Here are the steps: $ ipython Run the following, each on its own line, in ipython: from pulp.common import pic pic.connect() body = {'criteria': {'filters': {'unit': {'name': <name>}}, 'type_ids': ['rpm']}} pic.POST('/v2/repositories/<repo_id>/actions/resolve_dependencies/', body=body) * For the body, substitute the value for a RPM you know to be in the repo where it says <name>. I downloaded the Pulp repository and used "pulp-server". * For the last command, substitute in a valid repo ID for <repo_id> The output is largely readable, but the important part of what you're looking for is that the server doesn't fall over itself with that giant traceback in pulp.log. verified [root@pulp-master ~]# rpm -q pulp-server pulp-server-0.0.323-1.fc17.noarch >>> pic.POST('/v2/repositories/pulp-rhel6/actions/resolve_dependencies/', body=body) Request Body { "criteria": { "type_ids": [ "rpm" ], "filters": { "unit": { "name": "pulp-server" } } } } Response Body { "resolved": { "python-webpy": [ { "name": "python-webpy", "checksum": "69b776c6f96ad77a7279edfb39feba8a16918f973b6e72d834459fcc3a83858c", "epoch": "0", "version": "0.32", "release": "9.fc17", "arch": "noarch", "checksumtype": "sha256" } ], "python-oauth2 >= 1.5.170-2.pulp": [ { "name": "python-oauth2", "checksum": "f592e7152a3508fa611cac1c7e6dfc110fa4e9414b371ca8cd633ebf13d26408", "epoch": "0", "version": "1.5.170", "release": "3.pulp.fc17", "arch": "noarch", "checksumtype": "sha256" } ], "python-gofer >= 0.70": [ { "name": "python-gofer", "checksum": "d5fc33565494256e37f660ab9766355f73048331296b75bc3abaa4213d3f2f4a", "epoch": "0", "version": "0.71", "release": "1.fc17", "arch": "noarch", "checksumtype": "sha256" } ], "m2crypto >= 0.21.1.pulp-7": [ { "name": "m2crypto", "checksum": "6806b849546f1a51714a7a7f37d2bafae25263f2476cf3f380babedb0678bf67", "epoch": "0", "version": "0.21.1.pulp", "release": "8.fc17", "arch": "x86_64", "checksumtype": "sha256" } ], "python-pulp-common = 0.0.323": [ { "name": "python-pulp-common", "checksum": "69ea97beacfb50695d759ae095745bd11144a4f1a244fdedf8f85c705e37982e", "epoch": "0", "version": "0.0.323", "release": "1.fc17", "arch": "noarch", "checksumtype": "sha256" } ], "python-isodate >= 0.4.4-3.pulp": [ { "name": "python-isodate", "checksum": "79178d750cead582ed32be9282787222b5bd5094da9e40f1e7e21cd1833d6243", "epoch": "0", "version": "0.4.4", "release": "5.pulp.fc17", "arch": "noarch", "checksumtype": "sha256" } ], "mod_wsgi >= 3.3-3.pulp": [ { "name": "mod_wsgi", "checksum": "86407aabfec3885576bdc14da0613e6b5cc119b0de02fd75f2dabbbbb62ccd08", "epoch": "0", "version": "3.3", "release": "4.pulp.fc17", "arch": "x86_64", "checksumtype": "sha256" } ], "grinder >= 0.1.5-1": [ { "name": "grinder", "checksum": "7287122828123e4a18f96d98c1b8cf106ebd237424ab36946ff99c5fdfc1a362", "epoch": "0", "version": "0.1.5", "release": "2.fc17", "arch": "noarch", "checksumtype": "sha256" } ] }, "unresolved": { "crontabs": [], "/usr/bin/python": [], "python-setuptools": [], "mod_ssl": [], "python-BeautifulSoup": [], "/bin/bash": [], "python-simplejson >= 2.0.9": [], "mongodb-server": [], "mongodb": [], "pymongo >= 1.9": [], "qpid-cpp-server": [], "httpd": [], "openssl": [], "python-httplib2": [], "genisoimage": [], "acl": [], "python(abi) = 2.7": [], "python-ldap": [] }, >>> Pulp v2.0 released |