Project

General

Profile

Bug #13650

After recent move of errata association from content host to host, the system deletion fails on errata foreign key

Added by Ivan Necas almost 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

After rebasing to https://github.com/Katello/katello/commit/936cdbc372bdfc41fea42c6fe5318addbefd08e5,
I've hit the following issue when running subscription-manager register --force on already registered system:

update or delete on table "katello_systems" violates foreign key constraint "katello_system_errata_system_id" on table "katello_system_errata"


Related issues

Blocks Katello - Feature #11435: Host Unification TrackerNew

Associated revisions

Revision 5619067e (diff)
Added by Walden Raines almost 4 years ago

Fixes #13650 - remove system_errata table.

When deleting a system the foreign key to system_errata causes
the delete of the system to fail. This table is now unused and
should be removed.

http://projects.theforeman.org/issues/13650

Revision 16ae0f10
Added by Walden Raines almost 4 years ago

Merge pull request #5768 from waldenraines/13650

Fixes #13650 - remove system_errata table.

History

#1 Updated by Walden Raines almost 4 years ago

  • Status changed from New to Assigned
  • Assignee set to Walden Raines

#2 Updated by The Foreman Bot almost 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5768 added

#3 Updated by Justin Sherrill almost 4 years ago

#4 Updated by Walden Raines almost 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Eric Helms almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 86

Also available in: Atom PDF