Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJustin Sherrill
2013-09-19 13:51:25 UTC
Description of problem:
Generating applicability for a set of consumers results in a large traceback in pulp.log:
2013-09-19 09:21:53,544 pulp.server.dispatch.call:ERROR: Exception encountered while pickling: call
2013-09-19 09:21:53,544 pulp.server.dispatch.call:ERROR: Can't pickle <function regenerate_applicability_for_consumers at 0x7fc1668d6ed8>: it's not found as pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp/server/dispatch/call.py", line 210, in serialize
data[field] = pickle.dumps(getattr(self, field))
File "/usr/lib64/python2.6/pickle.py", line 1366, in dumps
Pickler(file, protocol).dump(obj)
File "/usr/lib64/python2.6/pickle.py", line 224, in dump
self.save(obj)
File "/usr/lib64/python2.6/pickle.py", line 286, in save
f(self, obj) # Call unbound method with explicit self
File "/usr/lib64/python2.6/pickle.py", line 748, in save_global
(obj, module, name))
PicklingError: Can't pickle <function regenerate_applicability_for_consumers at 0x7fc1668d6ed8>: it's not found as pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers
2013-09-19 09:21:53,596 pulp.server.dispatch.task:INFO: SUCCESS: Task 96f364ee-7de0-4e37-b850-d50756f20423: CallRequest: regenerate_applicability_for_consumers({'sort': None, 'skip': None, 'limit': None, 'filters': {'id': {'$in': ['integration_test_consumer']}}, 'fields': ['id'], '_id': ObjectId('523afa715ca0134fd30cf555'), 'id': '523afa715ca0134fd30cf555'})
The generation task seems to be successful (although i haven't yet checked the actual applicability data), but the error seems to always be generated
Version-Release number of selected component (if applicable):
pulp-server-2.3.0-0.12.alpha.el6.noarch
How reproducible:
always
Steps to Reproduce:
1. Use the applicability api to generate applicability data: https://pulp-dev-guide.readthedocs.org/en/latest/integration/rest-api/consumer/applicability.html
2. Check /var/log/pulp/pulp.log
Actual results:
Nasty Traceback
Expected results:
No Traceback
verified
[root@pulp-v2-server ~]# rpm -qa |grep pulp-server
pulp-server-2.3.0-0.17.beta.el6.noarch
Ran the test_applicability_generation.py from playpen
No errors in pulp.log
Description of problem: Generating applicability for a set of consumers results in a large traceback in pulp.log: 2013-09-19 09:21:53,544 pulp.server.dispatch.call:ERROR: Exception encountered while pickling: call 2013-09-19 09:21:53,544 pulp.server.dispatch.call:ERROR: Can't pickle <function regenerate_applicability_for_consumers at 0x7fc1668d6ed8>: it's not found as pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/server/dispatch/call.py", line 210, in serialize data[field] = pickle.dumps(getattr(self, field)) File "/usr/lib64/python2.6/pickle.py", line 1366, in dumps Pickler(file, protocol).dump(obj) File "/usr/lib64/python2.6/pickle.py", line 224, in dump self.save(obj) File "/usr/lib64/python2.6/pickle.py", line 286, in save f(self, obj) # Call unbound method with explicit self File "/usr/lib64/python2.6/pickle.py", line 748, in save_global (obj, module, name)) PicklingError: Can't pickle <function regenerate_applicability_for_consumers at 0x7fc1668d6ed8>: it's not found as pulp.server.managers.consumer.applicability.regenerate_applicability_for_consumers 2013-09-19 09:21:53,596 pulp.server.dispatch.task:INFO: SUCCESS: Task 96f364ee-7de0-4e37-b850-d50756f20423: CallRequest: regenerate_applicability_for_consumers({'sort': None, 'skip': None, 'limit': None, 'filters': {'id': {'$in': ['integration_test_consumer']}}, 'fields': ['id'], '_id': ObjectId('523afa715ca0134fd30cf555'), 'id': '523afa715ca0134fd30cf555'}) The generation task seems to be successful (although i haven't yet checked the actual applicability data), but the error seems to always be generated Version-Release number of selected component (if applicable): pulp-server-2.3.0-0.12.alpha.el6.noarch How reproducible: always Steps to Reproduce: 1. Use the applicability api to generate applicability data: https://pulp-dev-guide.readthedocs.org/en/latest/integration/rest-api/consumer/applicability.html 2. Check /var/log/pulp/pulp.log Actual results: Nasty Traceback Expected results: No Traceback