Project

General

Profile

Actions

Bug #32786

closed

[pulp3] aborting pulp3 content-migration step fails with "NoMethodError: undefined method fetch_from_list"

Added by Justin Sherrill over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Fixed in Releases:
Found in Releases:

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:

Actions #1

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
Actions #2

Updated by Brad Buckingham over 3 years ago

  • Assignee changed from Anurag Patel to Justin Sherrill
Actions #3

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
Actions #4

Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/Katello/katello/pull/9420 added
Actions #5

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #6

Updated by Justin Sherrill over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF