Bug #35965
closeddelete orphans task does not remove pulp3 remotes from capsules when removing repositories
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:
Updated by Jeremy Lenz 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
- Target version set to Katello 4.8.0
- Triaged changed from No to Yes
Updated by Ian Ballou almost 2 years ago
- Has duplicate Bug #35964: delete orphans task does not remove pulp3 remotes from capsules when removing repositories added
Updated by The Foreman Bot almost 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ian Ballou
- Pull request https://github.com/Katello/katello/pull/10425 added
Updated by The Foreman Bot almost 2 years ago
- Fixed in Releases Katello 4.8.0 added
Updated by Ian Ballou almost 2 years ago
- Status changed from Ready For Testing to Closed