Deleting content hosts fails with candlepin error : "cp_consumer" violates foreign key constraint "fk_sourcestack_consumer"
Issue
- Deletion of individual
Content Hosts
as well in Bulk selection gives below error:
Key (id)=(xyz) is still referenced from table "cp_pool_source_stack". at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse:2,157
> org.postgresql.util.PSQLException: ERROR: update or delete on table "cp_consumer" violates foreign key constraint "fk_sourcestack_consumer" on table "cp_pool_source_stack"
- Unable to delete
Content Hosts
inRed Hat Satellite
Server.
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.