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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.