Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1711255

Summary: [RFE] Unable to search obfuscated hostname systems in the inventory.
Product: Red Hat Hybrid Cloud Console (console.redhat.com) Reporter: Amar Huchchanavar <ahuchcha>
Component: InventoryAssignee: Shaun Dunning <sdunning>
Status: CLOSED CURRENTRELEASE QA Contact: Brandon Tweed <btweed>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ihands, jneedle, kdixon, lphiri
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-02 16:23:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Amar Huchchanavar 2019-05-17 11:32:30 UTC
Description of problem:

There is no option to search 'obfuscate_hostname=True'  system over the portal.

~~~
If you access cloud.redhat.com and browse the host inventory it will onlly show the hostname. In case of obfuscated hostnames this is not very useful. In the old insights page or on satellite insights the hosts are also showing the display name. 

Please bring the "display name" into the inventory view.
~~~
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Set  obfuscate_hostname=True in insights-client.conf 
~~
# Obfuscate IP addresses
obfuscate=True

# Obfuscate hostname
obfuscate_hostname=True
~~

2. #insights-client  --register 


Actual results:
systems get registered with 'host1.example.com' (next system would be host2.example.com ) 


Expected results:
There is no filter over the portal to find these systems. 

Additional info:
#curl -vv -u <PORTAL_LOGIN>  https://access.redhat.com/r/insights/v3/systems/?account_number=<ACCOUNT_NO> | python -mjson.tool

Comment 3 Ian Page Hands 2019-12-02 16:23:08 UTC
Closing this. Today I can set and search via displayname in the Inventory.