Unable to remove or delete repositories from Red Hat Satellite and failed with error 'update or delete on table "core_remote" violates foreign key constraint'.

Solution Verified - Updated -

Issue

  • Why we are unable to remove repositories after upgrading to Satellite to 6.10
  • Removing repositories from Red Hat Satellite fails with the below error:

    ForemanTasks::TaskError: Task 07fcdd78-940b-4a21-b957-6714172409b6: Katello::Errors::Pulp3Error: update or delete on table "core_remote" violates foreign key constraint "pulp_2to3_migration__pulp3_remote_id_1ec55725_fk_core_remo" on table "pulp_2to3_migration_pulp2importer"
    89655e7a |  (Katello::Errors::Pulp3Error)
    

Environment

  • Red Hat Satellite 6.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content