Bug #32786
closed[pulp3] aborting pulp3 content-migration step fails with "NoMethodError: undefined method fetch_from_list"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1970868
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:
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9401 added
Updated by Brad Buckingham over 3 years ago
- Assignee changed from Anurag Patel to Justin Sherrill
Updated by Justin Sherrill over 3 years ago
- Category set to Repositories
- Target version set to Katello 3.18.4
- Triaged changed from No to Yes
Updated by The Foreman Bot over 3 years ago
- Pull request https://github.com/Katello/katello/pull/9420 added
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases Katello 4.2.0 added
Updated by Justin Sherrill over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|4506271bd67c045616c79b67a0a0cf0736352273.