Project

General

Profile

Actions

Bug #35965

closed

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

Added by Ian Ballou over 1 year ago. Updated about 1 year ago.

Status:
Closed
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)

Has duplicate Katello - Bug #35964: delete orphans task does not remove pulp3 remotes from capsules when removing repositoriesDuplicateActions
Actions #1

Updated by Jeremy Lenz over 1 year 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
  • Target version set to Katello 4.8.0
  • Triaged changed from No to Yes
Actions #2

Updated by Ian Ballou over 1 year ago

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

Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ian Ballou
  • Pull request https://github.com/Katello/katello/pull/10425 added
Actions #4

Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases Katello 4.8.0 added
Actions #5

Updated by Ian Ballou about 1 year ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF