Pulp 2 to Pulp 3 content migration fails with error: "ERROR: Non-archived yum repositories with ID [xx xx] have no distribution reference"

Solution Verified - Updated -

Issue

  • The satellite-maintain content prepare command fails with the following error:

    Performing a check to verify everything that is needed has been migrated
                                                                         [FAIL]
    Failed executing foreman-rake katello:pulp3_post_migration_check, exit status 1:
    ERROR: Non-archived yum repositories with ID          [1674,1676,1831,1369,1659,1114,1048,957,1662,1802,1171,883,785,1665,1335,1065,1047,882,980,1333,914,1117,1337,1207,1736,956,1366,777,1026,796,886,1063,1804,1023,1723,1690,1064,891,880,800,915,1673,879,1691,1672,1049,789,979,1203,1148,775,1779,1022,1062,1626,1328,892,1622,] have no distribution reference
    
  • The satellite-maintain content migration-stats command displays a few missing or unmigrated RPMs as shown below:

    ================================================================================
    Retrieve Pulp 2 to Pulp 3 migration statistics: 
    ============Migration Summary================
    Migrated/Total RPMs: 228248/228250
    Migrated/Total errata: 936455/936455
    Migrated/Total repositories: 795/795
    

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