Bug 697521

Summary: inconsistent CDS naming while registering CDS with rhui-manager
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Sachin Ghai <sghai>
Component: CDSAssignee: Jay Dobies <jason.dobies>
Status: CLOSED DUPLICATE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-18 14:26:40 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:

Description Sachin Ghai 2011-04-18 14:07:05 UTC
Description of problem:
Inconsistent names, when we compare CDS hostname and display name in rhui-manager with the "pulp-admin cds list"   

Version-Release number of selected component (if applicable):
rhui-tool 2.0.14
pulp 0.166

How reproducible:
Always

Steps to Reproduce:

1. From rhui manager, register cds using Rhui-manager ( check the stdout log while registration )
2. on pulp-server, run "pulp-admin -u admin -p admin cds list"


Actual results:

from RHUA manager:  
====================
See the underline Hostname and name generated by rhui-manager

Hostname of the CDS to register:
cds.pnq.redhat.com

Display name for the CDS [cds.pnq.redhat.com]:
cds 01

The following CDS instance will be registered:
  Hostname: cds.pnq.redhat.com
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Name:     cds 01
  ~~~~~~~~~~~~~~~~~~
Proceed? (y/n) y

from pulp-server:
=====================
[root@pulp-server ~]# pulp-admin -u admin -p admin cds list
+------------------------------------------+
                CDS Instances
+------------------------------------------+

Name                	cds.pnq.redhat.com       
Hostname            	cds 01                   
Description         	None                     
Repos               	None                     
Last Sync           	Never                    
Status:
   Responding       	Yes                      
   Last Heartbeat   	2011-04-18 13:53:59      


Expected results:
Pulp-admin cds list output should be
Name                	cds 01
Hostname            	cds.pnq.redhat.com

Comment 1 Jay Dobies 2011-04-18 14:26:40 UTC
This is due to bug in the display on the pulp-admin cds list. There's already a bug for that.

*** This bug has been marked as a duplicate of bug 688297 ***