Bug 688297 - CDS list shows name & hostname interchanged
Summary: CDS list shows name & hostname interchanged
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Jay Dobies
QA Contact: Preethi Thomas
URL:
Whiteboard:
: 697521 (view as bug list)
Depends On:
Blocks: verified-to-close 684061
TreeView+ depends on / blocked
 
Reported: 2011-03-16 18:20 UTC by Preethi Thomas
Modified: 2011-08-16 12:20 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:07:09 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2011-03-16 18:20:34 UTC
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

Comment 1 Jay Dobies 2011-04-18 14:26:40 UTC
*** Bug 697521 has been marked as a duplicate of this bug. ***

Comment 2 Jay Dobies 2011-05-12 15:29:37 UTC
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

Comment 3 Jeff Ortel 2011-05-12 18:45:37 UTC
build: 0.176

Comment 4 Jeff Ortel 2011-05-12 21:00:14 UTC
Not tagged in 0.176.

Comment 5 Jeff Ortel 2011-05-13 20:50:46 UTC
build: 0.177

Comment 6 Sachin Ghai 2011-05-26 12:03:19 UTC
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 ~]#

Comment 7 Preethi Thomas 2011-08-16 12:07:09 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 8 Preethi Thomas 2011-08-16 12:20:54 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.