Deleting content hosts fails with candlepin error : "cp_consumer" violates foreign key constraint "fk_sourcestack_consumer"
Issue
- Deletion of individual
Content Hostsas 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 HostsinRed Hat SatelliteServer.
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
