Getting Katello::Errors::Pulp3Error: subtask failed error while trying to upgrade Red Hat Satellite from 6.9 to 6.10 release
Environment
- Red Hat Satellite 6.9
Issue
- Getting
Katello::Errors::Pulp3Error:subtask failed error while trying to upgrade Red Hat Satellite 6.10
Resolution
-
Ensure there is sufficient storage space for
/var/lib/pulp/publishedto double in size before starting the migration process.# du -sh /var/lib/pulp/published/ -
Ensure there is sufficient storage space for
/var/lib/pulp/before migrating content fromPulp2toPulp3.# df -Ph /var/lib/pulp -
For more KB articles/solutions related to Red Hat Satellite 6.x Pulp 2.0 to Pulp 3.0 Migration Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Pulp 2.0 to Pulp 3.0 Migration Issues
-
For more KB articles/solutions related to Red Hat Satellite 6.x Installation/Upgrade/Update Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues.
Root Cause
- Due to insufficient space in the
/var/lib/pulp/theContent Migrationpreparation failed.
Diagnostic Steps
-
Getting the below ERROR while migrating content from
Pulp2toPulp3Migration failed, You will want to investigate: https://satellite.example.com/foreman_tasks/tasks/XXXX rake aborted! ForemanTasks::TaskError: Task XXXX: Katello::Errors::Pulp3Error: 1 subtask(s) failed for task group /pulp/api/v3/task-groups/YYYY/. /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)>' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.3/exe/rake:27:in `<top (required)>' Tasks: TOP => katello:pulp3_migration (See full trace by running task with --trace) [FAIL] Failed executing preserve_output=true foreman-rake katello:pulp3_migration, exit status 1 -------------------------------------------------------------------------------- Scenario [Prepare content for Pulp 3] failed. --------------------------------------------------------------------------------
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.