Bug 1737536 - [RFE] Add host filter to the applied errata report
Summary: [RFE] Add host filter to the applied errata report
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Reporting
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.10.0
Assignee: Ondřej Ezr
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks: 1936462
TreeView+ depends on / blocked
 
Reported: 2019-08-05 15:31 UTC by Bryan Kearney
Modified: 2021-11-16 14:09 UTC (History)
7 users (show)

Fixed In Version: tfm-rubygem-katello-4.1.1.35-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:08:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29969 0 Normal Closed Add host filter to the applied errata report 2021-02-11 21:56:15 UTC
Foreman Issue Tracker 33684 0 Normal Closed Host filter on load_errata_applications macro is reverted 2021-10-14 08:36:10 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:09:04 UTC

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


Note You need to log in before you can comment on or make changes to this bug.