Actions
Bug #30565
closedUnable to delete discovered host
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
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