Description of problem: Adding/Removing repo to repogroup results in traceback in pulp.log Version-Release number of selected component (if applicable): [root@preethi-el6-pulp ~]# rpm -q pulp-rpm-server pulp-rpm-server-2.0.3-1.el6.noarch How reproducible: Steps to Reproduce: 1. create a repo group 2. add a repo to the repo group 3.check pulp.log Actual results: root@preethi-el6-pulp ~]# pulp-admin repo group members add --group-id rhel6 --filters='{"id":"rhel6_2"}' Expected results: Additional info:2012-09-12 11:32:27,301 16085:140012242859776: pulp.server.dispatch.call:ERROR: call:191 Exception encountered while pickling: args 2012-09-12 11:32:27,302 16085:140012242859776: pulp.server.dispatch.call:ERROR: call:192 'NoneType' object is not callable Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/server/dispatch/call.py", line 187, 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 600, in save_list self._batch_appends(iter(obj)) File "/usr/lib64/python2.6/pickle.py", line 615, in _batch_appends save(x) File "/usr/lib64/python2.6/pickle.py", line 306, in save rv = reduce(self.proto) File "/usr/lib64/python2.6/copy_reg.py", line 84, in _reduce_ex dict = getstate() TypeError: 'NoneType' object is not callable 2012-09-12 11:32:27,324 16085:140012098152192: pulp.server.dispatch.task:INFO: task:148 Task 0ec4a8f0-fcef-11e1-a421-525400c5886c: CallRequest: RepoGroupManager.associate(u'rhel6', {'sort': None, 'skip': None, 'limit': None, 'filters': {u'id': u'rhel6_2'}, 'fields': None, '_id': ObjectId('5050ab0b196f453ed5002b6f'), 'id': '5050ab0b196f453ed5002b6f'}) SUCCEEDED
This was fixed as part of another bug: 855384 Fix pushed to master in: 867f9c141b7b31145e2c6a193b66368af9fed624
This bug is aligned to CR-2 (indicated by version=CR-2). But, the comment indicates it was fixed in master. Preethi, should the version be: Master?
changed to master
build: 0.328
[root@pulp-master ~]# rpm -q pulp-rpm-serverpulp-rpm-server-0.0.328-1.fc17.noarch [root@pulp-master ~]# [root@pulp-master ~]# pulp-admin repo group members add --group-id pulp --filters='{"id":"pulp"}' Successfully added members to repository group [pulp] [root@pulp-master ~]# pulp-admin repo group list+----------------------------------------------------------------------+ Repository Groups +----------------------------------------------------------------------+ Id: pulp Display Name: None Description: None Repo Ids: pulp Notes:
Pulp v2.0 released