Bug 1585272 - Content View Errata Include by Date Filters include more than desired
Summary: Content View Errata Include by Date Filters include more than desired
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.6.0
Assignee: Partha Aji
QA Contact: Lai
URL:
Whiteboard:
Depends On: 1627844
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-01 17:10 UTC by Mike McCune
Modified: 2024-01-06 04:25 UTC (History)
13 users (show)

Fixed In Version: rubygem-katello-3.12.0.6-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-22 19:49:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 26720 0 Normal Closed Content View publish copying wrong errata 2020-10-22 18:09:32 UTC
Red Hat Bugzilla 1627844 1 high CLOSED Satellite 6 and packages spanning or existing in multiple errata 2023-09-14 04:34:41 UTC

Description Mike McCune 2018-06-01 17:10:57 UTC
TLDR: Setup a Content View filter to include all errata up until the end of 2017 and you still get 2018 errata showing up in the published Content View.

There are situations where Red Hat has to ship a package a multiple times in multiple erratas over long periods of time.

This means you can find situations where an errata with a specific NVREA shipped in 2017 and is then shipped *again* in 2018 or some other later date.

Examples of this are:

1) docker-distribution-2.6.2-1.git48294d9.el7.x86_64.rpm

exists in both:

RHEA-2018:1063
RHSA-2017:2603

2) driverctl-0.95-1.el7.noarch.rpm

exists in both:

RHEA-2018:1063
RHEA-2017:2370

This causes includes filters to improperly 'pull in' later errata even thou the date filter may say to limit up to the end of 2017.

Steps to reproduce:

1) sync RHEL 7Server x86_64 Extras

2) setup a CV that includes above repo

3) Setup an Includes Filter that has:

* NULL start date
* End date of DEC-17-2017

4) publish CV

5) note that you will see RHEA-2018:1063 in the published content view even thou your filter said to only include up to DEC of 2017.

Comment 2 Mike McCune 2018-06-01 17:14:03 UTC
WORKAROUND:

Switch to an Excludes filter that is the inverse of the includes

Comment 8 Eric Elena 2018-08-30 10:00:20 UTC
Do you have any update about the bug against the errata tool?

Comment 9 Brad Buckingham 2018-10-17 16:54:29 UTC
Hi Mike,

Do you happen to know if the bug for errata tool was created based upon comment 6?

Comment 10 Mike McCune 2018-10-17 17:03:57 UTC
https://bugzilla.redhat.com/1627844

Comment 14 Partha Aji 2019-05-02 13:59:20 UTC
Connecting redmine issue https://projects.theforeman.org/issues/26720 from this bug

Comment 15 Bryan Kearney 2019-06-10 14:02:39 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26720 has been resolved.

Comment 19 Lai 2019-07-22 20:09:11 UTC
Steps to test:

Note: driverctl-0.95-1.el7.noarch.rpm has following errata:
RHEA-2018:1063
RHEA-2017:2370

1) sync RHEL 7Server x86_64 Extras

2) setup a CV that includes above repo

3) Setup an Includes Filter that has:

* NULL start date
* End date of DEC-17-2017

4) publish CV

5) Drill into version -> errata

6) Search for RHEA-2018:1063

Expected Result
RHEA-2018:1063 not present in list

Actual Result:
RHEA-2018:1063 not present in list

Marking issue as verified.

Tested on 6.6.0 snap 12

Comment 22 Bryan Kearney 2019-10-22 19:49:57 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, 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-2019:3172

Comment 23 Red Hat Bugzilla 2024-01-06 04:25:32 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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