Getting Katello::Errors::Pulp3Error: subtask failed error while trying to upgrade Red Hat Satellite from 6.9 to 6.10 release

Solution Verified - Updated

Environment

  • Red Hat Satellite 6.9

Issue

  • Getting Katello::Errors::Pulp3Error: subtask failed error while trying to upgrade Red Hat Satellite 6.10

Resolution

Root Cause

  • Due to insufficient space in the /var/lib/pulp/ the Content Migration preparation failed.

Diagnostic Steps

  • Getting the below ERROR while migrating content from Pulp2 to Pulp3

      Migration 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.
      --------------------------------------------------------------------------------
    
SBR
Product(s)
Components
Category
Tags

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.