Problem:
Pulp 2 to 3 migration failed with message:
foreman-maintain content prepare
Running Prepare content for Pulp 3
Prepare content for Pulp 3:
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
Starting task.
2021-05-21 09:51:33 +0200: Distribution creation 3/102Migration failed, You will want to investigate: https:tasks/66d8b056-de39-41f7-a336-ff27e7549edf
rake aborted!
ForemanTasks::TaskError: Task 66d8b056-de39-41f7-a336-ff27e7549edf: Katello::Errors::Pulp3Error: 1 subtask(sk-groups/3afa1fb4-25d9-4944-abbf-2ffb47cceaeb/.
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/lib/katello/tasks/pulp3_migration.rake:33:in /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in
<top (required)>’
Tasks: TOP => katello:pulp3_migration
Expected outcome:
Pulp succesfully migrated to new version.
Foreman and Proxy versions:
Foreman 2.3.2-1.el7
Foreman and Proxy plugin versions:
Katello 3.18.2-1.el7
Distribution and version:
RHEL 7.9
Other relevant data:
[{“pulp_href”=>
“/pulp/api/v3/task-groups/3afa1fb4-25d9-4944-abbf-2ffb47cceaeb/”,
“description”=>“Migration Sub-tasks”,
“all_tasks_dispatched”=>true,
“waiting”=>189,
“skipped”=>0,
“running”=>3,
“completed”=>47,
“canceled”=>0,
“failed”=>1,
“group_progress_reports”=>
[{“message”=>“Repo version creation”,
“code”=>“create.repo_version”,
“total”=>276,
“done”=>50},
{“message”=>“Distribution creation”,
“code”=>“create.distribution”,
“total”=>1774,
“done”=>46}]}],
“poll_attempts”=>{“total”=>1697, “failed”=>1}}