Removing a host from Red Hat Satellite fails with PG::ForeignKeyViolation: ERROR.

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content