Bug 1564948

Summary: Satellite 6: Unable to search/find the hosts which are not having the "puppetmaster/puppet_ca" assigned.
Product: Red Hat Satellite Reporter: vijsingh
Component: HostsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.14CC: akarsale, inecas, kgaikwad, mhulan, tbrisker, vijsingh
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 01:24:36 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 vijsingh 2018-04-09 02:30:10 UTC
Description of problem:

Satellite 6: Unable to search/find the hosts which are not having the puppetmaster/puppet_ca assigned 

Version-Release number of selected component (if applicable):

Satellite 6.2.14

How reproducible:

Always

Steps to Reproduce:
1. Search hosts on GUI/CLI using below search before register a new host:

 e.g.
  puppet_ca != satellite.example.com
  puppetmaster != satellite.example.com


  Note: replace satellite.example.com with actual Satellite hostname
  
2. Now try to register a fresh system which is not having the puppet_ca/puppetmaster assigned to it.

3. Now Search hosts on GUI/CLI using below search again:

 e.g.
  puppet_ca != satellite.example.com
  puppetmaster != satellite.example.com


 Note: replace satellite.example.com with actual Satellite hostname

Actual results:

 Unable to see the any hosts in search.

Expected results:

 All hosts should show where "satellite.example.com" is not assigned as puppet_ca/puppetmaster.

Additional info: