Project

General

Profile

Actions

Bug #35120

closed

Retain packages on Repository removes RPMs from Pulp but not from Katello

Added by Ian Ballou over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #35457: Investigation: does Katello properly remove content units when they are removed from a Pulp repository during syncing?DuplicateActions
Actions

Also available in: Atom PDF