Bug 852790 - Error in pulp.log for repo copy rpm
Summary: Error in pulp.log for repo copy rpm
Keywords:
Status: CLOSED DUPLICATE of bug 845655
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: 2.0.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jay Dobies
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-29 15:37 UTC by Preethi Thomas
Modified: 2013-09-09 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-29 15:55:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2012-08-29 15:37:21 UTC
Description of problem:

Traceback in pulp.log when you do a repo copy rpm

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
[root@pulp-candidate ~]# pulp-admin repo  copy  rpm --from-repo-id pulp --to-repo-id pulp-clone1
Progress on this task can be viewed using the commands under "repo tasks".


  
Actual results:

[root@pulp-candidate ~]# pulp-admin repo  copy  rpm --from-repo-id pulp --to-repo-id pulp-clone1
Progress on this task can be viewed using the commands under "repo tasks".



Expected results:
2012-08-29 11:34:05,835 16679:140339682170624: pulp.server.dispatch.call:ERROR: call:191 Exception encountered while pickling: kwargs
2012-08-29 11:34:05,836 16679:140339682170624: pulp.server.dispatch.call:ERROR: call:192 'NoneType' object is not callable
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pulp/server/dispatch/call.py", line 187, in serialize
    data[field] = pickle.dumps(getattr(self, field))
  File "/usr/lib64/python2.7/pickle.py", line 1374, in dumps
    Pickler(file, protocol).dump(obj)
  File "/usr/lib64/python2.7/pickle.py", line 224, in dump
    self.save(obj)
  File "/usr/lib64/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib64/python2.7/pickle.py", line 649, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/usr/lib64/python2.7/pickle.py", line 663, in _batch_setitems
    save(v)
  File "/usr/lib64/python2.7/pickle.py", line 306, in save
    rv = reduce(self.proto)
  File "/usr/lib64/python2.7/copy_reg.py", line 84, in _reduce_ex
    dict = getstate()
TypeError: 'NoneType' object is not callable
2012-08-29 11:34:05,887 16679:140339264321280: pulp.plugins.yum_importer.importer:INFO: importer:298 Importing 35 units from pulp to pulp-clone1
2012-08-29 11:34:05,999 16679:140339264321280: pulp.plugins.yum_importer.importer:INFO: importer:320 35 units from pulp have been associated to pulp-clone1
2012-08-29 11:34:05,999 16679:140339264321280: pulp.server.dispatch.task:INFO: task:148 Task f7b73661-f1ee-11e1-9d07-5452003c7b52: CallRequest: RepoUnitAssociationManager.associate_from_repo(u'pulp', u'pulp-clone1', import_config_override=None, criteria={'unit_sort': None, 'association_filters': {}, '_id': ObjectId('503e366d923fef412700036c'), 'remove_duplicates': False, 'skip': None, 'association_fields': None, 'unit_filters': {'_id': {'$in': [u'47c622b2-877a-44c9-8482-93b8f47446d1', u'cd395c30-956f-4bac-902d-1632ada6205d', u'24da77f0-d455-44dc-9635-0086cc3d23ee', u'abf288ae-c771-4b6a-bf3e-f079bcb0063f', u'0cbd20c3-3c4a-4dcc-bd99-45e51eb2a121', u'b1fc0ef9-6406-4f19-9d37-4e799535577a', u'46df9c2a-c77c-425e-994c-48c0ef556bef', u'a9877833-e5c9-49d5-8ce5-e56531c5c5e4', u'2c40068a-c561-4dad-a469-718247cdd985', u'1db1d00c-b2bf-4af6-93bb-b1b3d4323088', u'165e4882-2365-4a7e-9fb5-6935d5763299', u'b3fc5449-e88a-4189-841b-c81167a307f7', u'02fbf6a2-bfea-41ef-b702-88dfe6772da7', u'449983c4-b050-41f5-a2a0-55d6ccf25379', u'88d5a0a5-8256-4f51-8064-c1aec67442b1', u'0239dca2-434e-4c21-ab0b-91dbbdfbc718', u'3f4e23b7-aff2-42bd-abad-eb9847be7e27', u'eb7db3af-2335-4ba2-9696-79fda983db9b', u'e6dbe3e4-731f-4b7d-9a51-32ee59042e77', u'b7821698-7405-494c-bfba-e3d2bfbc0fd2', u'3e83aeb1-144c-429f-b01e-0b9646e4d298', u'afa923ab-de81-484f-abbd-a3edfecdd5d0', u'5cc9b020-5f8f-450d-a8fc-fdda19c6e199', u'5781ff01-0e76-44a9-a3de-dd7f78039def', u'14391eeb-45f1-4895-8e6a-e6acf2e14d31', u'f21c1d36-4a5d-45fe-84ca-c141bce2fb0c', u'4b7adfab-da93-48d8-aa4c-fcae60788635', u'a21904ae-a37f-4255-a7a3-7b07df3016c2', u'40b2fed8-d47b-4706-b550-b1f2bec35f48', u'b2ac98b1-73ba-4a14-a336-45fb3039a962', u'2451ce0b-be8f-4f84-ad89-e15abc78fd5b', u'dc80adc2-b03a-4b7b-a370-238d853b6733', u'36e1b678-6130-4c86-8086-ffbd2181015c', u'a2a9ef41-35e8-4b52-a388-cd28df483f14', u'8f69ae81-606e-4dcb-87e6-0cfe7a7db9af']}}, 'association_sort': None, 'unit_fields': None, 'limit': None, 'type_ids': [u'rpm'], 'id': '503e366d923fef412700036c'}) SUCCEEDED
2012-08-29 11:34:06,004 16679:140339264321280: pulp.server.dispatch.call:ERROR: call:191 Exception encountered while pickling: kwargs
2012-08-29 11:34:06,004 16679:140339264321280: pulp.server.dispatch.call:ERROR: call:192 'NoneType' object is not callable
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pulp/server/dispatch/call.py", line 187, in serialize
    data[field] = pickle.dumps(getattr(self, field))
  File "/usr/lib64/python2.7/pickle.py", line 1374, in dumps
    Pickler(file, protocol).dump(obj)
  File "/usr/lib64/python2.7/pickle.py", line 224, in dump
    self.save(obj)
  File "/usr/lib64/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib64/python2.7/pickle.py", line 649, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/usr/lib64/python2.7/pickle.py", line 663, in _batch_setitems
    save(v)
  File "/usr/lib64/python2.7/pickle.py", line 306, in save
    rv = reduce(self.proto)
  File "/usr/lib64/python2.7/copy_reg.py", line 84, in _reduce_ex
    dict = getstate()
TypeError: 'NoneType' object is not callable



Additional info:

Comment 1 Jay Dobies 2012-08-29 15:55:07 UTC

*** This bug has been marked as a duplicate of bug 845655 ***


Note You need to log in before you can comment on or make changes to this bug.