Description of problem: --- Content-view with filter include errata by date doesn't include packages as it should and causes dependacy problems on host. How reproducible: Easily Steps to Reproduce: 1. Create a new content-view Example CV: --- Repository set: - Red Hat Enterprise Linux 8 for x86_64 - BaseOS RPMs x86_64 8 - Red Hat Enterprise Linux 8 for x86_64 - AppStream RPMs x86_64 8 --- Publish the cv: Approximately 17218 Packages --- On the RHEL 8 host: # yum clean all # yum repolist repo id repo name status rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 11,091 rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 5,056 2. Create a filter: --- Name: Include Errata - Content Type: Erratum - Date and Type - Inclusion Type: Include - Start Date: Null - End Date: 31/08/2020 (any date can be selected in random while reproducing) --- Publish the cv: Approximately 10362 Packages 3. Actual results --> On the RHEL 8 host: # yum clean all # yum repolist Modular dependency problems: Problem 1: conflicting requests - nothing provides module(perl:5.26) needed by module freeradius:3.0:8020020191122172113:31e953cd-0.x86_64 Problem 2: conflicting requests - nothing provides module(perl:5.26) needed by module freeradius:3.0:8010020190614154208:16b3ab4d-0.x86_64 Problem 3: conflicting requests - nothing provides module(perl:5.26) needed by module freeradius:3.0:8000020190425181943:75ec4169-0.x86_64 repo id repo name status rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 6,388 rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 3,311 --- Update "Solve Dependencies" to "Yes" and publish the cv: 11512 Packages --> On the RHEL 8 host: # yum clean all # yum repolist Modular dependency problems: Problem 1: conflicting requests - nothing provides module(perl:5.26) needed by module freeradius:3.0:8020020191122172113:31e953cd-0.x86_64 Problem 2: conflicting requests - nothing provides module(perl:5.26) needed by module freeradius:3.0:8010020190614154208:16b3ab4d-0.x86_64 Problem 3: conflicting requests - nothing provides module(perl:5.26) needed by module freeradius:3.0:820190131191847:fbe42456-0.x86_64 Problem 4: conflicting requests - nothing provides module(perl:5.26) needed by module freeradius:3.0:8000020190425181943:75ec4169-0.x86_64 repo id repo name status rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 7,099 rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 3,649 4. Expected results: Filter type Include with errata by date should work. Atleast "Solve Dependencies" should solve the issue. Additional info: 5. Workaround is by using the exclude filter rather than include filter: --- Name: Exclude Errata - Content Type: Erratum - Date and Type - Inclusion Type: Exclude - Start Date: 31/08/2020 (any date can be selected in random while reproducing) - End Date: Null --- Publish the cv: Approximately 16988 Packages -> On the RHEL 8 host (No dependency error): # yum clean all # yum repolist repo id repo name status rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 10,970 rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 4,979
Do you happen to see the same behavior with RHEL 7 content?
I have tried to test with RHEL7 content with base repositories but haven't found similar behavior as reported.
Since you say: "Workaround is by using the exclude filter rather than include filter:" I think this is intentional. When you only say say 'include errata within this date range', this will not include any modules that do not have errata. So the 'base' set of modules that contain no errata are excluded. As part of https://bugzilla.redhat.com/show_bug.cgi?id=1853280 we added a new option to the modules filter 'original-module-streams', so that you can 'include' all these modules that contain no errata if you want. Until 6.8, you can use that workaround. I'm going to close this bug as a duplicate of 1853280, but feel free to reopen if you disagree. *** This bug has been marked as a duplicate of bug 1853280 ***
Oh and this feature was backported to 6.7.3 via: https://bugzilla.redhat.com/show_bug.cgi?id=1862264 So the customer should have access to it.