Content migration from pulp2 to pulp3 fails with error Katello::Errors::Pulp3Error: Validation failed: resources missing in Red Hat Satellite 6.9

Solution Verified - Updated -

Issue

  • Execution of satellite-maintain content prepare fails with any of the following errors even before starting the actual migration process.

    ForemanTasks::TaskError: Task df64d1b7-3279-4684-b3af-5dcc3d5402ea: 
    Katello::Errors::Pulp3Error: Validation failed: resources missing {'repositories_missing_distributors': ['1-EPEL-v1289_0-RE-EPEL-EPEL-7-x86_64']}
    /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.46/lib/katello/tasks/pulp3_migration.rake:43:in `block (2 levels) in <top (required)>'
    

     

    ForemanTasks::TaskError: Task cde6274a-38ec-4adf-9ee2-9eba814714b0: Katello::Errors::Pulp3Error: 
    Validation failed: resources missing {'repositories': ['9039817e-7178-4654-af63-10086ffa83b3', '466279f4-d9fe-4250-b201-d35afe75c412', '6eda3c7b-e689-45c9-954a-b5eb0ff3e4b2', '561dc2e0-bc20-43ed-a5aa-0a8b80121cb4', 'dfe4d41e-af04-4c31-b061-195acd6dc6bf', '259bb346-ca50-431d-b723-abf198f452a5'], 
    'repositories_missing_importers': ['9039817e-7178-4654-af63-10086ffa83b3', '466279f4-d9fe-4250-b201-d35afe75c412', '6eda3c7b-e689-45c9-954a-b5eb0ff3e4b2', '561dc2e0-bc20-43ed-a5aa-0a8b80121cb4', 'dfe4d41e-af04-4c31-b061-195acd6dc6bf', '259bb346-ca50-431d-b723-abf198f452a5'], 
    repositories_missing_distributors': ['9039817e-7178-4654-af63-10086ffa83b3', '466279f4-d9fe-4250-b201-d35afe75c412', '6eda3c7b-e689-45c9-954a-b5eb0ff3e4b2', '561dc2e0-bc20-43ed-a5aa-0a8b80121cb4', 'dfe4d41e-af04-4c31-b061-195acd6dc6bf', '259bb346-ca50-431d-b723-abf198f452a5']}
    /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.46/lib/katello/tasks/pulp3_migration.rake:43:in `block (2 levels) in <top (required)>'
    

Environment

  • Red Hat Satellite 6.9

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