Actions
Bug #35120
closedRetain packages on Repository removes RPMs from Pulp but not from Katello
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Community post: https://community.theforeman.org/t/pulp3-yum-repo-off-by-one-retain-package-count-with-additive-mirroring-policy/29131
If a repo is synced with additive, the retain package version amount is lowered, and then the repo is synced again, RPMs will be removed from the Pulp repo but Katello will not disassociate the related Rpm records.
To reproduce:
1) Sync https://fixtures.pulpproject.org/rpm-with-modules/
-> Additive, Retain package versions 3
2) Change retain package versions to 2
3) Perform a complete sync
4) Check the RPM count in Katello. It should not go down.
5) Check the RPM count in Pulp. It should be lower.
Actions