-
Bug
-
Resolution: Done-Errata
-
Normal
-
6.11.3
-
False
-
-
False
-
CLOSED
-
3,900
-
Phoenix - Content
-
-
-
Sprint 108, Sprint 110, Sprint 111, Sprint 112, Sprint 113, Sprint 114, Sprint 115, Sprint 116
-
Moderate
-
None
Description of problem:
As per the summary.
Steps to Reproduce:
1. Enable and sync RHEL 8 Baseos and Appstream x86_64 repos
2. Enable and sync RHEL 8 Baseos and Appstream ppcle64 repos.
3. Create a content view and add both repos in step (1)
4. Create the following filters.
Include errata until end date = 16/07/2022
Include all module streams without errata
Include all packages without errata
Include the following errata by id:
- RHSA-2022:7119
- RHSA-2022:7129
- RHSA-2022:7190
- RHSA-2022:7128
- RHSA-2022:7108
- RHSA-2022:7106
- RHSA-2022:7110
- RHSA-2022:7192
- RHSA-2022:7105
- RHSA-2022:7089
- RHSA-2022:7070
- RHSA-2022:7024
- RHSA-2022:7023
- RHSA-2022:6778
- RHSA-2022:6781
- RHSA-2022:6542
- RHSA-2022:6457
- RHSA-2022:6448
- RHSA-2022:6447
- RHSA-2022:6449
- RHSA-2022:6443
- RHSA-2022:6450
- RHSA-2022:6357
- RHSA-2022:6158
- RHSA-2022:5819
- RHSA-2022:5775
- RHSA-2022:5717
- RHSA-2022:5597
5. Publish new version of the content view.
Actual results:
Clicks into the module streams link you will see many ppcle64 module streams in the content view.
Expected results:
Should only include x86 64 module streams in the content view
Additional info:
Same issue in Satellite 6.10
This is because Katello uses "api.repositories_api.modify(repository_href, add_content_units: content_unit_href)" API in the Pulp3 to copy contents. This API can copy any contents without specifying the source repository.
Satellite 6.9.9 doesn't have this issue because Katello uses the copy API in pulp 2 to copy units from source repo to destination repos. Thus, units not in the source repo can't be copied.