Project

Profile

Help

Issue #3047

closed

ISO repo doesn't correctly handle updates to files for content already in Pulp

Added by daviddavis over 6 years ago. Updated almost 5 years ago.

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

Description

In an earlier issue we handled updates to files in ISO repos when the file was being uploaded or resynced:

https://pulp.plan.io/issues/2773

I forgot to handle the case though where the file already exists in pulp and gets added to a repo. Steps to reproduce:

1. Create 2 two repos and sync them both. I recommend using file paths as feeds.
2. Edit an iso in the repo and make sure you update the PULP_MANIFEST file
3. Re-sync repo 1
4. Re-sync repo 2

Expected results:

Each repo has 1 iso unit.

Actual results:

The first repo has 1 unit while the second repo has 2 units. This is because the code that does the association of existing content to repo 2 was never updated in #2773.


Related issues

Related to RPM Support - Issue #2773: ISO repo does not handle updates to files on manifest during re-sync correctlyCLOSED - CURRENTRELEASEdaviddavisActions
Related to RPM Support - Issue #3100: Removal of existing iso units doesn't work if there are multiple iso filesCLOSED - CURRENTRELEASEdaviddavisActions

Also available in: Atom PDF