Bug 1228292

Summary: Incremental Update: Unable to filter my content hosts with environment if the selected errata contains atleast one installable errata
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Content ManagementAssignee: Walden Raines <walden>
Status: CLOSED CURRENTRELEASE QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bkearney, walden
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/10705
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 16:04:06 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 sthirugn@redhat.com 2015-06-04 14:38:29 UTC
Description of problem:
Incremental Update: Unable to filter my content hosts with environment if the selected errata contains atleast one installable errata

Version-Release number of selected component (if applicable):
Sat 6.1 GA Snap 7

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Content -> Errata
2. Select multiple erratas (make sure to include atleast one installable errata)
3. Apply Errata
4. Select the check box - Only show content hosts where is currently installable in the host's Lifecycle Environment.

Actual results:
I had 6 erratas - 5 applicable and 1 installable errata for my content host.  So I expected not to see my content host when I checked the check box.  I assumed the content host will not be shown when atleast one of the selected errata is an applicable errata.

Expected results:
Do not show content host when the check box is checked if atleast one of the errata is an applicable errata in the list

Additional info:

Comment 2 Walden Raines 2015-06-04 15:09:27 UTC
Created redmine issue http://projects.theforeman.org/issues/10705 from this bug

Comment 3 Walden Raines 2015-06-04 15:18:28 UTC
PR: https://github.com/Katello/katello/pull/5274

Comment 4 Bryan Kearney 2015-06-04 20:05:51 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10705 has been closed
-------------
Walden Raines
Applied in changeset commit:katello|881198cd4da2c491d9c7362dbeefd030dc6a370f.

Comment 5 Walden Raines 2015-06-05 19:09:01 UTC
*** Bug 1226381 has been marked as a duplicate of this bug. ***

Comment 8 sthirugn@redhat.com 2015-06-16 13:53:16 UTC
Failed.

Test scenario:
1. Select two erratas - one applicable and one installable for a content host
2. Click Apply Errata
3. Now try to apply the check box to show content hosts where the errata is currently installable in the host's Lifecycle environment
4. The content host is still shown although one of the selected errata is not in content host's lifecycle environment.

Comment 9 Walden Raines 2015-06-16 18:20:56 UTC
New PR: https://github.com/Katello/katello/pull/5308

Comment 10 Walden Raines 2015-06-22 20:59:39 UTC
Merged to master with 5ff9a792e1b5314d3345e35d6a73a4461bb54022.

Comment 12 Bryan Kearney 2015-06-26 14:32:19 UTC
Delivered in Snap10

Comment 13 sthirugn@redhat.com 2015-07-07 17:26:23 UTC
Verified in GA snap 11. Now I am able to filter errata based on the environment.

Comment 14 Bryan Kearney 2015-08-12 16:04:06 UTC
This bug was fixed in Satellite 6.1.1 which was delivered on 12 August, 2015.