Project

General

Profile

Actions

Bug #35457

closed

Investigation: does Katello properly remove content units when they are removed from a Pulp repository during syncing?

Added by Ian Ballou over 1 year ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Custom repositories don't always keep every old content unit, so content units can be removed during syncs. An upstream user is hitting an issue where filtered CV publishing is failing due to content units in the DB that don't exist in Pulp. I think it's likely that Pulp removed the units during a sync but Katello failed to remove them from its DB.

We should test that, if a repo removes content units, Katello also removes them from the DB. We should also test this for package groups because they were the target content unit type in the issue.

Perhaps we could improve filtered content view publishing so that 404s are handled. That might require Pulp changes, but it's worth investigating.


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #35120: Retain packages on Repository removes RPMs from Pulp but not from KatelloClosedSamir JhaActions
Actions

Also available in: Atom PDF