Project

General

Profile

Actions

Bug #35964

closed

delete orphans task does not remove pulp3 remotes from capsules when removing repositories

Added by Ian Ballou almost 2 years ago. Updated almost 2 years ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2160264

Description of problem:

When repositories are to be removed from a capsule, the remotes used to sync the repositories are left behind.

Version-Release number of selected component (if applicable):
Pulp 3 Katello

How reproducible:

Always

Steps to Reproduce:
1. Sync some repositories to a capsule
2. Dissociate the environments that are being synced to the capsule
3. Run a delete_orphans task against the capsule
4. Check pulp API to ensure the repositories are gone (endpoint /pulp/api/v3/repositories/)
5. Check pulp API remotes and you'll see they are still around (endpoint pulp/api/v3/remotes/rpm/rpm/)

Actual results:
Remotes are left behind

Expected results:
Remotes would be delete together with the repository it's in charge of syncing.

Additional info:


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #35965: delete orphans task does not remove pulp3 remotes from capsules when removing repositoriesClosedIan BallouActions
Actions #1

Updated by Ian Ballou almost 2 years ago

  • Subject changed from delete orphans task does not remove pulp3 remotes from capsules when removing repositories to delete orphans task does not remove pulp3 remotes from capsules when removing repositories
  • Status changed from New to Duplicate
  • Target version set to Katello Recycle Bin
Actions #2

Updated by Ian Ballou almost 2 years ago

  • Is duplicate of Bug #35965: delete orphans task does not remove pulp3 remotes from capsules when removing repositories added
Actions #3

Updated by Chris Roberts almost 2 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF