Project

General

Profile

Bug #22873

Race condition around host destroy

Added by Justin Sherrill over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

  1. PG::ForeignKeyViolation: ERROR: update or delete on table "katello_content_facets" violates foreign key constraint "katello_content_facet_errata_ca_id" on table "katello_content_facet_errata"
  1. DETAIL: Key (id)=(1) is still referenced from table "katello_content_facet_errata".
  1. : DELETE FROM "katello_content_facets" WHERE "katello_content_facets"."content_view_id" = $1 AND "katello_content_facets"."host_id" = 1

Seen via bats tests

Associated revisions

Revision 7ea6dc32 (diff)
Added by Justin Sherrill over 3 years ago

Fixes #22873 - handle race condition on host unregister

soon after checkin

History

#1 Updated by The Foreman Bot over 3 years ago

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

#2 Updated by Justin Sherrill over 3 years ago

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

#3 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) set to 338

Also available in: Atom PDF