Bug 1312124

Summary: In Bulk Action Apply ALL Installable Errata should only select applicable errata
Product: Red Hat Satellite Reporter: Prakash Ghadge <pghadge>
Component: Content ManagementAssignee: Walden Raines <walden>
Status: CLOSED WONTFIX QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.6CC: bbuckingham, bkearney, cwelton, gueorgui.tcherecharov, jcallaha, mmccune, pghadge
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-katello-3.0.0.31-1,rubygem-katello-3.0.0.31-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 17:57:12 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:

Description Prakash Ghadge 2016-02-25 19:39:40 UTC
Description of problem:

When applying Errata to 2 (or more) hosts, I see ALL Errata. Including errata for hosts not affected (in selection). I expect to see Errata that is only installable for the selected hosts. It should not select errata which are not applicable for the selected host.

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


How reproducible:

Always

Steps to Reproduce:
1. Select two or more hosts
2. Select errata in bulk action
3. Select all errata and you'll notice that its selecting a errata which is not applicable for that host. [Find attached screen shots]

Actual results:
Select all errata selecting errata which are not applicable for the host. 

Expected results:
Select all applicable errata should filter out not applicable errata.

Additional info:

Comment 4 Walden Raines 2016-05-12 14:15:41 UTC
Created redmine issue http://projects.theforeman.org/issues/15024 from this bug

Comment 5 Walden Raines 2016-05-12 14:19:48 UTC
PR: https://github.com/Katello/katello/pull/6041

Comment 6 Bryan Kearney 2016-05-12 16:12:57 UTC
Upstream bug component is Content Management

Comment 7 Bryan Kearney 2016-05-12 16:12:59 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/15024 has been closed

Comment 10 jcallaha 2016-07-01 19:39:47 UTC
Failed QA in Satellite 6.2 Beta Snap 18.1.

The current behavior is close, but does not remove errata that isn't applicable for all hosts selected. For example:

Host 1: 0 Errata
Host 2: 99 Errata
Host 3: 52 Errata

In this case, 99 errata would be shown. The correct behavior would be to show no errata since the ones displayed can't be applied to all of the hosts selected.

Comment 11 Walden Raines 2016-07-05 13:51:49 UTC
(In reply to jcallaha from comment #10)
> Failed QA in Satellite 6.2 Beta Snap 18.1.
> 
> The current behavior is close, but does not remove errata that isn't
> applicable for all hosts selected. For example:
> 
> Host 1: 0 Errata
> Host 2: 99 Errata
> Host 3: 52 Errata
> 
> In this case, 99 errata would be shown. The correct behavior would be to
> show no errata since the ones displayed can't be applied to all of the hosts
> selected.

The purpose of this page is to show all applicable errata that the selected list of hosts needs.  In other words it is a union of applicable errata not an intersection.

If we desire the behavior of showing an intersection of errata than we should open an RFE for that change.

Comment 16 Bryan Kearney 2016-07-06 14:11:49 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/15024 has been closed

Comment 18 Bryan Kearney 2018-09-04 17:57:12 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.