Bug 1200441

Summary: In Errata -> Content hosts tab - Check box to filter out content hosts based on Life cycle environment does not work
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Container ManagementAssignee: Walden Raines <walden>
Status: CLOSED ERRATA QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: jmontleo, mmccune, walden
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9737
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:29:32 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: 1130651    

Description sthirugn@redhat.com 2015-03-10 15:03:55 UTC
Description of problem:
In Errata -> Content hosts tab - Check box to filter out content hosts based on Life cycle environment does not work

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150303.0

How reproducible:
Always

Steps to Reproduce:
1. Sync rhel 6Server bits
2. Create three different content views with different filters
3. Register and subscribe three content hosts to the above created three content views
4. Go to Content -> Errata tab -> Select an errata (which should say something like Applicable 2, Installable 1 or similar)
5. Go to Content Hosts tab
6. See that all three content hosts are displayed (expected behavior)
7. Now Check the checkbox which says 
- Only show content hosts where $errata is currently available in the host's Lifecycle Environment.

Actual results:
The checkbox filter does not work and all my content hosts are shown irrespective of errata availability in their lifecycle environment

Expected results:
The checkbox filter should work fine and the displayed content hosts should have the corresponding errata available in their lifecycle environment

Additional info:
Very straightforward scenario, not attaching screenshot / foreman-debug

Comment 2 Walden Raines 2015-03-12 20:27:32 UTC
Created redmine issue http://projects.theforeman.org/issues/9737 from this bug

Comment 3 Walden Raines 2015-03-13 14:26:58 UTC
PR: https://github.com/Katello/katello/pull/5108

Comment 4 Bryan Kearney 2015-03-13 20:05:28 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9737 has been closed
-------------
Walden Raines
Applied in changeset commit:katello|223b6b656645389b55999c05bc18bd2ebadeecbf.

Comment 7 sthirugn@redhat.com 2015-03-23 17:47:36 UTC
Verified. But this results in another bug https://bugzilla.redhat.com/show_bug.cgi?id=1204903

Satellite-6.1.0-RHEL-6-20150317.0

Comment 8 Bryan Kearney 2015-08-11 13:21:39 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 errata-xmlrpc 2015-08-12 05:29:32 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-2015:1592