Description of problem: Aborting the pulp3 content-migration rake task via `satellite-maintain content prepare-abort` Version-Release number of selected component (if applicable): Katello 3.18.1 How reproducible: Steps to Reproduce: 1. start the content migration step `satellite-maintain content prepare` 2. abort the content migration step `satellite-maintain content prepare-abort` from a different terminal 3. Actual results: Prepare content for Pulp 3: Checking for valid Katello configuraton. Starting task. 2021-06-10 14:54:21 +0000: Migrating rpm content to Pulp 3 5978/167886Migration failed, You will want to investigate: https://<redacted>/foreman_tasks/tasks/9026d986-1b11-41b4-96b1-642a5073bfbe rake aborted! ForemanTasks::TaskError: Task 9026d986-1b11-41b4-96b1-642a5073bfbe: NoMethodError: undefined method fetch_from_list' for #<Katello::Pulp3::Api::Core:0x000000001f7a7ed8> /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.29/lib/katello/tasks/pulp3_migration.rake:35:inblock (2 levels) in ' /opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.3/exe/rake:27:in `' Tasks: TOP => katello:pulp3_migration (See full trace by running task with --trace) [FAIL] Expected results: The task will stop, and the rake command will exit cleanly telling so. Additional info:
Created redmine issue https://projects.theforeman.org/issues/32786 from this bug
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32786 has been resolved.
*** Bug 1993682 has been marked as a duplicate of this bug. ***
Also consider adding a newline or whitespace for the failure: ~~~ 2021-06-10 14:54:21 +0000: Migrating rpm content to Pulp 3 5978/167886Migration failed, You will want to investigate: https://<redacted>/foreman_tasks/tasks/9026d986-1b11-41b4-96b1-642a5073bfbe ^^^ ~~~
Verified on 6.9.5 Snap3.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Satellite Maintenance 6.9.5 Async Bug Fix Update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3385