Project

Profile

Help

Issue #8828

closed

Synchronizing buster/updates succeeds but does not download any packages

Added by quba42 almost 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
3. High
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Reproducer remote:

REMOTE_HREF=$(http post "${BASE_ADDR}"/pulp/api/v3/remotes/deb/apt/ name="${ENTITIES_NAME}" distributions="buster/updates" components="main" architectures="amd64" url="https://deb.debian.org/debian-security/" | jq -r '.pulp_href')

Result: The sync is successful, but the repo version contains no packages.

First reported here: https://community.theforeman.org/t/subscription-manager-for-debian-ubuntu-on-apt-atix-de/20667/43?u=quba42

Actions #1

Updated by quba42 almost 3 years ago

If I do NOT specify components=main in the remote, then I see packages being downloaded.

Actions #2

Updated by quba42 almost 3 years ago

Hypothesis: It could be related to the fact that the component is prefixed in the Release file (updates/main) which might throw it out during filtering. If so, then the "plain component" needs to be used instead.

Actions #3

Updated by pulpbot almost 3 years ago

  • Status changed from NEW to POST
Actions #4

Updated by quba42 almost 3 years ago

  • Sprint/Milestone changed from Katello to 2.13.0

Added by quba42 almost 3 years ago

Revision dfb0cf63 | View on GitHub

Consider that release file components may not be plain components

Closes #8828 https://pulp.plan.io/issues/8828

When creating an intersection between the release file components and the components from the remote, we need to consider the special case, where the release file components have a path prefix, but those from the remote do not!

Actions #5

Updated by quba42 almost 3 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by pulpbot almost 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF