Bug 2000289

Summary: All errata are filtered out from EPEL 7 content view version when any RPM is excluded
Product: Red Hat Satellite Reporter: Ian Ballou <iballou>
Component: Content ViewsAssignee: Ian Ballou <iballou>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: myarboro, wpinheir, zhunting
Target Milestone: 6.10.1Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-18 14:38:46 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: 2013320    
Bug Blocks:    

Description Ian Ballou 2021-09-01 18:54:48 UTC
Description of problem:

Errata that have SRPMs in the package list are being excluded from content view versions with filters.

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

Since 6.9.0

How reproducible:

Always

Steps to Reproduce:
1. Sync http://download.fedoraproject.org/pub/epel/7/x86_64/
2. Put the epel 7 repo in a content view and add a filter that excludes one RPM
3. See that all errata are missing from the resulting CVV

Actual results:

All errata are missing from the CVV

Expected results:

Only the appropriate errata are filtered out

Additional info:

More information about the issue is available on the redmine bug.

Comment 3 Ian Ballou 2021-09-01 19:04:34 UTC
Note that this won't necessarily only affect EPEL.  It will affect any repository that includes SRPMs in the errata package list in the same way that EPEL does. For example, in EPEL you'll see something like:

<pre>
<filename>mcabber-1.1.2-1.el7.src.rpm</filename>
</pre>

Typically we don't see src rpms in the filename section. Instead, it will go with `src=...`.

Comment 4 Bryan Kearney 2021-09-09 00:05:40 UTC
Upstream bug assigned to iballou

Comment 5 Bryan Kearney 2021-09-09 00:05:42 UTC
Upstream bug assigned to iballou

Comment 6 Brad Buckingham 2021-09-28 18:24:52 UTC
Moving to POST as upstream PR is merged.

Comment 13 mark yarborough 2021-10-14 14:54:02 UTC
Target for 6.10.1

Comment 19 Lai 2021-11-10 16:27:13 UTC
Steps to test

Followed the steps in the description and got erratas showing up after publishing.

I checked the cv page and the cvv errata page and both contains the erratas.

Verified on 6.10.1_01

Comment 25 errata-xmlrpc 2021-11-18 14:38:46 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 (Satellite 6.10.1 Async Bug Fix Update), 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/RHBA-2021:4737