Hide Forgot
Description of problem: [root@preethi ~]# pulp-admin cds sync --hostname=pulp-cds.usersys.redhat Sync for CDS [pulp-cds.usersys.redhat] started Use "cds status" to check on the progress from the pulp.log 2011-03-25 14:38:36,603 [INFO][Thread-60] cds_sync() @ cds.py:302 - Synchronizing CDS [preethi.usersys.redhat.com] 2011-03-25 14:38:36,605 [ERROR][Thread-60] failed() @ task.py:207 - Task id:1857e9b8-570f-11e0-9615-002564a85a58, method_name:cds_sync: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/server/tasking/task.py", line 131, in run result = self.callable(*self.args, **self.kwargs) File "/usr/lib/python2.7/site-packages/pulp/server/api/cds.py", line 307, in cds_sync raise PulpException('CDS with hostname [%s] could not be found' % cds_hostname) PulpException: u'CDS with hostname [preethi.usersys.redhat.com] could not be found'
commit 750ad0789797686701fdcaf6ce3d79ba70a3d974 Author: Jay Dobies <jason.dobies> Date: Wed Oct 26 10:33:47 2011 -0400 690902 - Since the sync runs in an async task, we need to add a check for hostname validity before triggering the task so we can inform the caller that the invocation was invalid src/pulp/server/webservices/controllers/cds.py
build 0.242-2
verified [root@preethi ~]# rpm -q pulp pulp-0.0.248-1.fc15.noarch [root@preethi ~]# [root@preethi ~]# pulp-admin cds sync --hostname=pulp-cds.usersys.redhat error: error: operation failed: Could not find CDS with hostname [pulp-cds.usersys.redhat] [root@preethi ~]#
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.