Removing a host from Red Hat Satellite fails with PG::ForeignKeyViolation: ERROR.
Issue
-
Unable to remove the host from Red Hat Satellite which has
insights
remediations applied. -
Removing a host from
Red Hat Satellite
fails with the below error.PG::ForeignKeyViolation: ERROR: update or delete on table "hosts" violates foreign key constraint "fk_rails_864b02d191" on table "insights_hits
Environment
- Red Hat Satellite 6.7.3 or less
- tfm-rubygem-foreman_rh_cloud-1.0.9-1.el7sat.noarch
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.