Project

General

Profile

Actions

Bug #30565

closed

Unable to delete discovered host

Added by John McNally about 4 years ago. Updated about 4 years ago.

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

Description

Attempt to delete a discovered host results in this error:

PG::ForeignKeyViolation: ERROR: update or delete on table "hosts" violates foreign key constraint "host_classes_host_id_fk" on table "host_classes" DETAIL: Key (id)=(15) is still referenced from table "host_classes". : DELETE FROM "hosts" WHERE "hosts"."id" = $1

Foreman v2.0.1
OS: CentOS 7.8

See attached trace. Please indicate which additional logs might be helpful.


Files

Actions

Also available in: Atom PDF