Project

General

Profile

Actions

Bug #30480

closed

Failed Repository enable/create task can leave orphan repo root objects in db

Added by Samir Jha over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Based on support cases on BZ:https://bugzilla.redhat.com/show_bug.cgi?id=1854711 and discussions on that, a failed repository enable/create task could lead to orphan root repository objects in Katello.
The immediate problem it led to was with running sync plans on parent product which is fixed as part of the above BZ.
Not entirely sure if orphan root repos could lead to other problems but something to look into.

Actions #1

Updated by Samir Jha over 3 years ago

  • Target version set to Katello 4.0.0
  • Triaged changed from No to Yes
Actions #2

Updated by Chris Roberts over 3 years ago

  • Target version changed from Katello 4.0.0 to Katello 3.17.0
Actions #3

Updated by Ian Ballou over 3 years ago

I'm searching for what might cause a Root Repository to be orphaned without a resumable task that could fix it. If I still cannot find why, I will simply improve the katello:correct_repositories rake task to work for Pulp 3 and remove any orphaned Root Repositories.

Actions #4

Updated by The Foreman Bot over 3 years ago

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

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases Katello 4.0.0 added
Actions #6

Updated by Anonymous over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF