Project

General

Profile

Actions

Bug #38096

open

APT repos using flat repo format cannot be synced to smart proxy

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

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

Description

Definitely affects APT repos with structured APT enabled, may be a problem even when structured APT is not enabled.

Hosts consuming the repo directly from the server will also get an incorrect repo config if structured APT is enabled.

The root cause is that pulp_deb reports the flat repo distribution that was synced for the repo version, but publishes using a normal distribution named "flat-repo".

This is a poor design choice in pulp_deb, but the quickest and easiest way to fix it is to add special handling for APT repos on the Katello side.

Steps to Reproduce:
1. Use a system with structured APT enabled.
2. Sync an APT repo using "flat" repo format:
- Upstream URL: https://fixtures.pulpproject.org/debian-flat/
- Releases/Distributions: /
3. Add to CV/LCENV, and sync to orcharhino proxy
4. Alternatively try to use on consuming host

Actual results:
sync to orcharhino proxy fails
The consuming host cannot find the repo metadata

Expected results:
Sync to proxy and use on hosts works.

Actions #1

Updated by The Foreman Bot 5 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/11259 added
Actions

Also available in: Atom PDF