Seen during testing of the CDS sync calls. For some reason, it clears up when I bounced httpd. [root@guardian ~]# pulp-admin cds sync --hostname nightwing.batcave.org Sync for CDS [nightwing.batcave.org] started Use "cds status" to check on the progress [root@guardian ~]# pulp-admin cds status --hostname nightwing.batcave.org +------------------------------------------+ CDS Status +------------------------------------------+ Name nightwing.batcave.org Hostname nightwing.batcave.org Description None Repos pulp-testing Last Sync 2010-12-13 11:08:23.564000 +------------------------------------------+ Most Recent Sync Tasks +------------------------------------------+ State error Start Time 2010-12-13 12:03:30.836000 Finish Time 2010-12-13 12:03:30.839000 Exception TypeError("sync() got an unexpected keyword argument 'progress_callback'",) Traceback Traceback (most recent call last): File "/home/jdob/code/pulp/src/pulp/server/tasking/task.py", line 129, in run result = self.callable(*self.args, **self.kwargs) File "/home/jdob/code/pulp/src/pulp/server/auditing.py", line 209, in _audit result = method(*args, **kwargs) TypeError: sync() got an unexpected keyword argument 'progress_callback' <bounced httpd> [root@guardian ~]# pulp-admin cds sync --hostname nightwing.batcave.org Sync for CDS [nightwing.batcave.org] started Use "cds status" to check on the progress [root@guardian ~]# pulp-admin cds status --hostname nightwing.batcave.org +------------------------------------------+ CDS Status +------------------------------------------+ Name nightwing.batcave.org Hostname nightwing.batcave.org Description None Repos pulp-testing Last Sync 2010-12-13 11:08:23.564000 +------------------------------------------+ Most Recent Sync Tasks +------------------------------------------+ State running Start Time 2010-12-13 12:04:30.237000 Finish Time In Progress [root@guardian ~]# pulp-admin cds status --hostname nightwing.batcave.org +------------------------------------------+ CDS Status +------------------------------------------+ Name nightwing.batcave.org Hostname nightwing.batcave.org Description None Repos pulp-testing Last Sync 2010-12-13 12:04:33.381000 +------------------------------------------+ Most Recent Sync Tasks +------------------------------------------+ State finished Start Time 2010-12-13 12:04:30.237000 Finish Time 2010-12-13 12:04:33.383000 [root@guardian ~]#
I think I can consistently reproduce this by running a repo sync before a cds sync. Both use the async task system. The following output is immediately following a restart of httpd: [root@guardian ~]# pulp-admin repo sync --id pulp-testing -FSync for repository pulp-testing started You can safely CTRL+C this current command and it will continue [==================================================] 100% (10 of 10 pkgs) Sync: Finished [root@guardian ~]# pulp-admin cds sync --hostname nightwing.batcave.org Sync for CDS [nightwing.batcave.org] started Use "cds status" to check on the progress [root@guardian ~]# pulp-admin cds status --hostname nightwing.batcave.org +------------------------------------------+ CDS Status +------------------------------------------+ Name nightwing.batcave.org Hostname nightwing.batcave.org Description None Repos pulp-testing Last Sync 2010-12-13 14:38:40.088000 +------------------------------------------+ Most Recent Sync Tasks +------------------------------------------+ State error Start Time 2010-12-13 14:43:39.950000 Finish Time 2010-12-13 14:43:39.957000 Exception TypeError("sync() got an unexpected keyword argument 'progress_callback'",) Traceback Traceback (most recent call last): File "/home/jdob/code/pulp/src/pulp/server/tasking/task.py", line 129, in run result = self.callable(*self.args, **self.kwargs) File "/home/jdob/code/pulp/src/pulp/server/auditing.py", line 209, in _audit result = method(*args, **kwargs) TypeError: sync() got an unexpected keyword argument 'progress_callback'
I have not been able to reproduce this, is anyone still seeing it?
[root@preethi ~]# rpm -q pulp pulp-0.0.181-1.fc14.noarch [root@preethi ~]# [root@preethi ~]# pulp-admin cds status --hostname=pulp-cds.usersys.redhat.com +------------------------------------------+ CDS Status +------------------------------------------+ Name pulp-cds.usersys.redhat.com Hostname pulp-cds.usersys.redhat.com Description None Group None Sync Schedule None Repos f15 Last Sync 2011-05-31 15:36:58-04:00 Status: Responding Yes Last Heartbeat 2011-05-31 19:39:12.879172+00:00 +------------------------------------------+ Most Recent Sync Tasks +------------------------------------------+ State finished Start Time 2011-05-31 15:22:43-04:00 Finish Time 2011-05-31 15:24:42-04:00 [root@preethi ~]#
Closing with Community Release 15 pulp-0.0.223-4.