Bug 688297
| Summary: | CDS list shows name & hostname interchanged | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> | 
| Component: | z_other | Assignee: | Jay Dobies <jason.dobies> | 
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | 
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | jortel, sghai, skarmark | 
| Target Milestone: | --- | Keywords: | Triaged | 
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 12:07:09 UTC | Type: | --- | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 647488, 684061 | ||
| *** Bug 697521 has been marked as a duplicate of this bug. *** commit 248460b74fff3d88ca87fbfd1bdcb4d7b40f293d
Author: Jay Dobies <jason.dobies>
Date:   Thu May 12 11:32:40 2011 -0400
    688297 - Fixed incorrect substitutions for name and hostname
src/pulp/client/core/cds.py
build: 0.176 Not tagged in 0.176. build: 0.177 Verified in build:
pulp 0.181
rhui-tools: 2.0.25
Now CDS list showing correct name and hostname:
-----------------------------------------------------------
Hostname of the CDS to register:
dhcp193-65.pnq.redhat.com
Display name for the CDS [dhcp193-65.pnq.redhat.com]:
cds0065
The following CDS instance will be registered:
  Hostname: dhcp193-65.pnq.redhat.com
  Name:     cds0065
Proceed? (y/n) y
+------------------------------------------+
                CDS Instances
+------------------------------------------+
Name                	cds0065                  
Hostname            	dhcp193-65.pnq.redhat.com
Description         	None                     
Group               	None                     
Sync Schedule       	2011-05-26T17:23:28+05:30/PT1H
Repos               	None                     
Last Sync           	Never                    
Status:
   Responding       	Yes                      
   Last Heartbeat   	2011-05-26 11:54:19.133951+00:00
[root@dhcp193-79 ~]#
Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. | 
Description of problem: V[root@preethi ~]# pulp-admin cds register --hostname=pulp-cds.usersys.redhat.com --name=pulp-cds-1 --description=pulp-cds-1 Successfully registered CDS [pulp-cds.usersys.redhat.com] [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin cds register --hostname=hp-bl260cg5-01.rhts.eng.bos.redhat.com --name=pulp-cds-2 --description=pulp-cds-2 Successfully registered CDS [hp-bl260cg5-01.rhts.eng.bos.redhat.com] [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin cds list +------------------------------------------+ CDS Instances +------------------------------------------+ Name pulp-cds.usersys.redhat.com Hostname pulp-cds-1 Description pulp-cds-1 Repos None Last Sync Never Name hp-bl260cg5-01.rhts.eng.bos.redhat.com Hostname pulp-cds-2 Description pulp-cds-2 Repos None Last Sync Never