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""
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.