Migrated from https://projects.theforeman.org/issues/37166
Sometimes this happens during deleting a host:
PG::ForeignKeyViolation: ERROR: update or delete on table "hosts" violates foreign key constraint "host_status_hosts_host_id_fk" on table
"host_status" DETAIL: Key (id)=(HOST_ID) is still referenced from table "host_status".
Migrated from https://projects.theforeman.org/issues/37166
Sometimes this happens during deleting a host:
PG::ForeignKeyViolation: ERROR: update or delete on table "hosts" violates foreign key constraint "host_status_hosts_host_id_fk" on table
"host_status" DETAIL: Key (id)=(HOST_ID) is still referenced from table "host_status".