Actions
Bug #38370
closedCan't delete hosts due to type null host statuses
Description
{}hammer host delete --organization "example" --name "example.host.com"
Could not delete the 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)=(3724) is still referenced from table "host_status".
Removing the type null host status entries for the host workarounds the error.
Updated by The Foreman Bot about 1 month ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/10520 added
Updated by Adam Lazik 9 days ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|bc4a8c6e1d94e2cf60b4feafff6d06d0408a764c.
Actions