Bug 1737536

Summary: [RFE] Add host filter to the applied errata report
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: ReportingAssignee: Ondřej Ezr <oezr>
Status: CLOSED ERRATA QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: inecas, mhulan, mmccune, oezr, oprazak, tbrisker, wpinheir
Target Milestone: 6.10.0Keywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.1.1.35-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:08:51 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: 1936462    

Description Bryan Kearney 2019-08-05 15:31:28 UTC
The applicable errata host has this, but the applied does not. We should ensure that both have similar filters.

Comment 3 Shira Maximov 2020-06-01 10:22:31 UTC
Created redmine issue https://projects.theforeman.org/issues/29969 from this bug

Comment 4 Bryan Kearney 2020-06-08 12:02:22 UTC
Upstream bug assigned to mshira

Comment 5 Bryan Kearney 2020-06-08 12:02:25 UTC
Upstream bug assigned to mshira

Comment 6 Bryan Kearney 2020-08-04 12:05:58 UTC
Upstream bug assigned to oezr

Comment 7 Bryan Kearney 2021-01-06 16:22:59 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/29969 has been resolved.

Comment 9 Lukáš Hellebrandt 2021-06-16 16:44:22 UTC
FailedQA with Sat 6.10.0 snap 4.0.

There is indeed a host filter field when generating the Applied errata report. However, when I fill anything, the result is always empty. For example, when I don't fill anything, I get a list of applied errata, including entries for host '[full_hostname_filtered]3-221[full_hostname_filtered]' but when I fill 'name ~ 3-221' as filter, I get a dataset only containing the header.

Comment 10 Lukáš Hellebrandt 2021-06-17 10:34:55 UTC
Actually, when specifying a filter that should NOT match any host, the results are provided for all hosts. Seems like some condition is reversed somewhere.

Comment 15 Lukáš Hellebrandt 2021-10-18 14:02:12 UTC
Verified with Sat 6.10.0 snap 23.0.

Used reproducer from comment 9, everything works as expected.

Comment 18 errata-xmlrpc 2021-11-16 14:08:51 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