Bug 2092272

Summary: Errata date exclusion filter allows packages from erratas past the date filter
Product: Red Hat Satellite Reporter: Julio Entrena Perez <jentrena>
Component: Content ViewsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.9.4CC: sajha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-25 14:48:32 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 Julio Entrena Perez 2022-06-01 08:36:06 UTC
Description of problem:
Publishing a version of a CV with an errata date exclusion filter results in packages that belong to erratas that should be excluded being added to the published version.

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

How reproducible:
Always

Steps to Reproduce:
1. Create a CV with RHEL 8 baseos and appstream repositories
2. Create an errata exclude filter with date 2021-12-30
3. Publish a version of the CV

Actual results:
The following packages are present in the published version:

> motif-2.3.4-17.el8_4.i686.rpm
> motif-2.3.4-17.el8_4.x86_64.rpm
> motif-devel-2.3.4-17.el8_4.x86_64.rpm
> motif-devel-2.3.4-17.el8_4.i686.rpm
> motif-static-2.3.4-17.el8_4.i686.rpm
> motif-static-2.3.4-17.el8_4.x86_64.rpm
Errata https://access.redhat.com/errata/RHBA-2022:1451
Issued:
    2022-04-20
Updated:
    2022-04-20 
(should have been EXCLUDED)

> prometheus-jmx-exporter-openjdk11-0.12.0-7.el8.noarch.rpm
https://access.redhat.com/errata/RHBA-2022:1773
Issued:
    2022-05-10
Updated:
    2022-05-10 
(should have been EXCLUDED)

Expected results:
The above packages are not present in the published version

Additional info:
I can reproduce motif packages on 6.9.9 and 6.10, but I can't reproduce prometheus-jmx-exporter-openjdk11 on said versions.

Comment 4 Samir Jha 2023-07-25 14:48:32 UTC
Spoke to Julio and this issue was resolved and accepted by customer with this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2093409. Will go ahead and close this one out as duplicate.

*** This bug has been marked as a duplicate of bug 2093409 ***