Bug 1406855

Summary: Content hosts search in UI for `subscription_status != valid` shows valid hosts
Product: Red Hat Satellite Reporter: Andrew Kofink <akofink>
Component: Hosts - ContentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.3.0CC: akofink, bbuckingham, bkearney, cduryee, jcallaha, jdickers, mowens, oshtaier
Target Milestone: UnspecifiedKeywords: PrioBumpField, Triaged
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-02-21 16:54:17 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:
Bug Depends On:    
Bug Blocks: 1479962    

Description Andrew Kofink 2016-12-21 16:29:13 UTC
Description of problem:
Users can search for `subscription_status != valid` in the content hosts search, but hosts with valid subscriptions still show in the list. This seems to be an issue with the API itself, rather than with the UI.

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

How reproducible:
Always

Steps to Reproduce:
1. Register a content host with a valid subscription
2. Search for `subscription_status != valid` in content_hosts#index

Actual results:
Valid content hosts are shown

Expected results:
No valid content hosts are shown.

Additional info:

Comment 3 Andrew Kofink 2017-01-06 17:12:28 UTC
This appears to be fixed in 6.2.6.

Comment 4 Brad Buckingham 2017-01-06 17:21:45 UTC
Andrew, thanks!  We'll keep this only on 6.3 then.

Comment 5 Jason Dickerson 2017-03-20 15:08:05 UTC
I am having this issue on 6.2.8.

Comment 8 Bryan Kearney 2017-06-15 13:23:31 UTC
Moving to ON_QA for re-verification.

Comment 10 Oleksandr Shtaier 2017-07-26 10:50:28 UTC
Verified on latest 6.3 by test autmation scripts. Functionality works as intended

Comment 12 Satellite Program 2018-02-21 16:54:17 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336