Bug 1905560

Summary: Security ERRATA installation via Host Collection will always ends up in applying 20 ERRATA's from the list in Satellite 6
Product: Red Hat Satellite Reporter: Sayan Das <saydas>
Component: Errata ManagementAssignee: James Jeffers <jjeffers>
Status: CLOSED ERRATA QA Contact: Akhil Jha <akjha>
Severity: high Docs Contact:
Priority: high    
Version: 6.8.0CC: egolov, jjansky, jjeffers, jsherril, kupadhya, osousa, pcreech, swadeley
Target Milestone: 6.10.0Keywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:09:33 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 Sayan Das 2020-12-08 14:49:07 UTC
Description of problem:

Please see the "Steps to Reproduce" section.


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

How reproducible:
Always


Steps to Reproduce:

NOTE: Entries per page" is set to 20

0. Create a Host collection named RHEL and add some hosts as a part of the same which are having ERRATA installable on them.

1. GUI --> Hosts --> Host Collections --> Click on RHEL collection --> Click on "ERRATA Installation" --> 

2. Note down the total ERRATA count e.g. for me 183.

3. Now, search by "type = security" --> Use "Select all 39" to select 39 count of security ERRATA's --> From "Install Selected" drop-down , select "via - Remote Execution - Customize First" 



Actual results:

Now on the Job Invocation page look at the "errata" field as it always contains 19 or 20 ERRATA's instead of those 39 selected. 


Expected results:

It should have properly selected 39 ERRATA's and created the Job for those 39 ERRATA's only


Additional info:

Comment 3 Justin Sherrill 2021-01-14 17:04:58 UTC
I spent a few minutes looking into this and it appears that triggering remote execution jobs does not support the 'true select all' that katello agent actions do.  Will need to implement this.

Comment 4 James Jeffers 2021-05-19 17:42:49 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32436 has been resolved.

Comment 5 Akhil Jha 2021-07-29 07:43:04 UTC
Verified.
Satellite 6.10.0-10.0

Observation: Shows the selected number of errata in `errata` field.

Comment 9 errata-xmlrpc 2021-11-16 14:09:33 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 (Moderate: Satellite 6.10 Release), 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-2021:4702

Comment 10 Lucy Fu 2022-02-14 19:03:05 UTC
*** Bug 1853704 has been marked as a duplicate of this bug. ***