Hide Forgot
Description of problem: If you run CDS register a second time on the same host, the error message is misleading. [root@preethi ~]# rpm -q pulp pulp-0.0.151-1.fc14.noarch [root@preethi ~]# pulp-admin cds list +------------------------------------------+ CDS Instances +------------------------------------------+ [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin cds register --hostname=pulp-cds.usersys.redhat.com Successfully registered CDS [pulp-cds.usersys.redhat.com] [root@preethi ~]# pulp-admin cds list +------------------------------------------+ CDS Instances +------------------------------------------+ Name pulp-cds.usersys.redhat.com Hostname pulp-cds.usersys.redhat.com Description None Repos None Last Sync Never [root@preethi ~]# pulp-admin cds register --hostname=pulp-cds.usersys.redhat.com Error attempting to register CDS [pulp-cds.usersys.redhat.com] Check that the CDS packages have been installed on the CDS and have been started
commit 38b91fb13dd6d6cad769576bc8bdd8880f6e3811 Author: Jay Dobies <jason.dobies> Date: Tue Oct 25 15:02:27 2011 -0400 688288 - For a conflict, give the user a custom error message src/pulp/client/admin/plugins/cds.py
build 0.242-2
verified [root@preethi pulp]# pulp-admin cds register --hostname=f16-cds.usersys.redhat.com Successfully registered CDS [f16-cds.usersys.redhat.com] [root@preethi pulp]# [root@preethi pulp]# [root@preethi pulp]# pulp-admin cds list +------------------------------------------+ CDS Instances +------------------------------------------+ Name f16-cds.usersys.redhat.com Hostname f16-cds.usersys.redhat.com Description None Cluster None Sync Schedule None Repos None Last Sync Never Status: Responding Yes Last Heartbeat 2011-11-11 21:02:36.646875+00:00 [root@preethi pulp]# pulp-admin cds register --hostname=f16-cds.usersys.redhat.com error: error: operation failed: A CDS with the hostname [f16-cds.usersys.redhat.com] already exists
Pulp v1.0 is released Closed Current Release.