-
Bug
-
Resolution: Done-Errata
-
Normal
-
6.11.3
-
False
-
-
False
-
CLOSED
-
5,300
-
Phoenix - Content
-
-
-
Sprint 108, Sprint 109, Sprint 110, Sprint 111, Sprint 112, Sprint 113, Sprint 114, Sprint 115, Sprint 116
-
Moderate
-
Yes
Description of problem:
As per subject.
Steps to Reproduce:
1. Enable and sync RHEL 8 Baseos and Appstream x86_64 repos
2. Create a content view and add both repos
3. Create the following filters.
Include errata until end date = 26/07/2022
Include all module streams without errata
Include all packages without errata
4. Publish the content view.
Actual results:
The following 2 errata are included even they are not within the filter date range.
RHEA-2022:6453
Issued: Sep 13, 10:00 AM
Last Updated On: Sep 13, 10:00 AM
RHEA-2022:6454
Issued: Sep 13, 10:00 AM
Last Updated On: Sep 13, 10:00 AM
Expected results:
Exclude the 2 errata
Additional info:
1. The errata (RHEA-2022:6453 and RHEA-2022:6454) are included because all their packages are already included by the filter. In other word, the errata within the filter date range contain all packages of those 2 errata.
See line https://github.com/Katello/katello/blob/master/app/lib/katello/util/errata.rb#L58
2. We tested the same filters in Satellite 6.9.9 but it doesn't include the 2 errata. That is because Satellite 6.9.9 doesn't more more check. It excluded those 2 errata because their module streams are not in the filter date range.
See line https://github.com/Katello/katello/blob/KATELLO-3.18/app/models/katello/repository.rb#L366
3. In short:
Satellite 6.9: An erratum will be included only when all packages and all module streams in the erratum are included in the repo.
Satellite 6.10+: An erratum will be included when all packages in the erratum are included in the repo.
4. I guess if the module stream of one modular erratum is not included in the repo, the erratum is probably not installable on client so the behaviour in Satellite 6.9.9 looks correct to me.