Deleting a client vm on Red Hat Satellite 6 fails with: update or delete on table "hosts" violates foreign key constraint "fk_rails_4c747e18cb" on table "registration_facets" DETAIL: Key (id)=(X) is still referenced from table "registration_facets

Solution Verified - Updated -

Issue

  • Deleting a client from Satellite fails with:

    PG::ForeignKeyViolation: ERROR: update or delete on table "hosts" violates foreign key constraint "fk_rails_4c747e18cb" on table "registration_facets" DETAIL: Key (id)=(X) is still referenced from table "registration_facets
    

Environment

  • Red Hat Satellite 6

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