Project

Profile

Help

Issue #7046

closed

Adding a distribution tree to another repo doesn't work correctly

Added by daviddavis almost 4 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Quarter:

Description

Steps to recreate:

  1. Create a repo A and sync down a distribution tree such as centos 8
  2. Create a new repo B
  3. Add the distribution tree to your new repo B (http :/pulp/api/v3/repositories/rpm/rpm/.../modify/ add_content_units:="...")

Result:

The new repo B now has a distribution tree whose BaseOS variant points to the original repo A that synced down the tree. Moreover, repo A shows it has a number of packages/etc while B only has one content unit.

I think this could lead to strange situations where for example repo A can be deleted which would mess up the kickstart.


Related issues

Related to Migration Plugin - Issue #6950: Migration of a distribution tree fails when it is present in multiple reposCLOSED - CURRENTRELEASEttereshcActions
Related to RPM Support - Task #7150: Do not have FK pointing to a main repo from a DistributionTree Variant CLOSED - CURRENTRELEASEttereshc

Actions

Also available in: Atom PDF