foreman_maintain icon indicating copy to clipboard operation
foreman_maintain copied to clipboard

Get rid of type nil host statuses

Open ehelms opened this issue 2 months ago • 0 comments

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".

ehelms avatar Apr 09 '24 16:04 ehelms