Problem: content migration fails with error “Katello::Errors::Pulp3Error: ‘NoneType’ object has no attribute ‘cast’”
Expected outcome: pulp2 content migrated to pulp3 (yum)
Foreman and Proxy versions:
- foreman 2.3.1
- katello 3.18
Other relevant data:
foreman-maintain content switchover gives:
Running Switch support for certain content from Pulp 2 to Pulp 3
Switch support for certain content from Pulp 2 to Pulp 3:
Performing final content migration before switching content [FAIL]
Failed executing foreman-rake katello:pulp3_migration, exit status 1:
Migration failed, You will want to investigate: https://stg-katello/foreman_tasks/tasks/18b2029a-71e6-4df3-aa90-0c68983ac48b
ForemanTasks::TaskError: Task 18b2029a-71e6-4df3-aa90-0c68983ac48b: Katello::Errors::Pulp3Error: ‘NoneType’ object has no attribute ‘cast’
block (2 levels) in <top (required)>' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in <top (required)>’
Tasks: TOP => katello:pulp3_migration
(See full trace by running task with --trace)
2020-12-30 16:12:41 +0100: Initial Migration steps complete.
Scenario [Switch support for certain content from Pulp 2 to Pulp 3] failed.
Smart-Proxy services show: “yum (supported, but overridden to use Pulp 2)”
How to proceed?