Project

General

Profile

Actions

Bug #38096

closed

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

Added by Quirin Pamp 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
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.


Related issues 1 (0 open1 closed)

Related to Katello - Bug #38221: APT repos using flat repo format with a distribution other than "/" are brokenClosedQuirin PampActions
Actions #1

Updated by The Foreman Bot 3 months ago

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

Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 4.16.0 added
Actions #3

Updated by Quirin Pamp 3 months ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Lucy Fu 3 months ago

  • Category set to Foreman Proxy Content
  • Triaged changed from No to Yes
Actions #5

Updated by Quirin Pamp 17 days ago

  • Related to Bug #38221: APT repos using flat repo format with a distribution other than "/" are broken added
Actions

Also available in: Atom PDF