Uploading manifest to SAM server fails with error "duplicate key value violates unique constraint "cp_content_label_key""

Solution Verified - Updated -

Issue

  • When trying to upload manifest to SAM server it fails with error Subscription manifest import for provider 'Red Hat' failed Reason: Failed to import archive.
    Following entries in candlepin_error.log file:
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "cp_content_label_key"
[...]
2016-11-24 11:34:18,780 [req=737daa6e-5888-4954-9735-f719642185a9, org=MetEireann] ERROR org.candlepin.resource.OwnerResource - Recording import failure
org.candlepin.sync.ImporterException: Failed to import archive

Environment

  • Subscription Asset Manager 1.4

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.