Unable to promote/remove content view/composite content view to lifecycle due "foreign key constraint" error.

Solution Verified - Updated -

Issue

  • After publishing the new version of content views (removing the kickstart repos) results into the following error when try to promote/remove content view/lifecycle environment:
ERROR: update or delete on table "katello_repositories" violates foreign key constraint "hostgroups_kickstart_repository_id_fk" on table "hostgroups" DETAIL: Key (id)=(653) is still referenced from table "hostgroups".

Environment

  • Satellite 6.2

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