Deleting a capsule is failing with an error "update or delete on table "smart_proxies" violates foreign key constraint "hosts_puppet_ca_proxy_id_fk" on table "hosts" DETAIL: Key (id)=(numeric_id) is still referenced from table "hosts""

Solution Unverified - Updated -

Issue

  • Remove the capsule from the Satellite fails with error as below,
ERROR: update or delete on table "smart_proxies" violates foreign key constraint "hosts_puppet_ca_proxy_id_fk" on table "hosts" DETAIL: Key (id)=(2) is still referenced from table "hosts"

Environment

  • Red Hat Satellite 6.1

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