Project

Profile

Help

Issue #2027

closed

remove_missing option does not work unless repository is updated

Added by jsherril@redhat.com over 8 years ago. Updated over 5 years ago.

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

Description

The remove_missing yum_importer option seems to not actually remove anything unless some repo is added to the upstream repository.

I was able to reproduce easy enough by:

1) generate an empty repository:

mkdir /var/www/html/foo
createrepo /var/www/html/foo

2) Create a repo with remove_missing set to true, pointed to some repo with content (https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/)

3) Sync the repo
4) change the feed url to point to your empty repo. This simulates rpms being removed from the upstream repo (Sync you just created the empty repo the revision should be newer than the first repo)
5) sync the repo

I'd expect all rpms to be removed from the repo but they are not.


Related issues

Related to Pulp - Story #1983: As a user, an importer config change or content removal will cause the next sync to be fullCLOSED - CURRENTRELEASEdalley

Actions
Actions #1

Updated by jsherril@redhat.com over 8 years ago

Note this was reported by a katello user who was confused why the behavior seemed inconsistent (they were turning remove_missing on and re-syncing).

Actions #2

Updated by ipanova@redhat.com over 8 years ago

  • Related to Story #1983: As a user, an importer config change or content removal will cause the next sync to be full added
Actions #3

Updated by ttereshc over 8 years ago

  • Triaged changed from No to Yes
Actions #4

Updated by bmbouter over 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #5

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF