Project

General

Profile

Actions

Bug #38061

open

Using deb content filters with structured APT enabled breaks repo publications

Added by Quirin Pamp 14 days ago. Updated 14 days ago.

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

Description

Steps to reproduce:

  • Create an APT repo and sync some content. e.g: Upstream URL: `https://fixtures.pulpproject.org/debian/`, Releases/Distributions: `ginnungagap ragnarok`
  • Create a content view, add the repo, and publish and promote a new version.
  • Create a deb type exclude filter to filter out one of the packages from the repo.
  • Publish and promote a new content view version to apply the filter.

Check the published repo URL that hosts consuming the content view version will configure. You will get 404 on the repo folder.

The reason is that when Katello copied content from one Pulp repo to another to apply the filter, it only copyed packages but no structure content.
As a result we get a repo with no structure content, and publish it in structured mode. The resultant Pulp publication is completely empty and thus returns 404.

The solution is to use the pulp_deb advanced copy API for the copy action, which will drag along the structure content associated with the packages being copied.

Actions

Also available in: Atom PDF