[Satellite6] katello:correct_repositories rake script raises PG::UniqueViolation when creating missing pulp repo for custom produc

Solution Verified - Updated -

Issue

Running foreman-rake katello:correct_repositories script fails with PG::UniqueViolation error when attempting to fix a custom repository.

Environment

Red Hat Satellite 6.6 or older

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