Project

General

Profile

Actions

Bug #33278

closed

Pulp migration failed with "NoMethodError: undefined method 'pulp_id' for nil:NilClass"

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

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1994651

Description of problem: Pulp migration failed with "NoMethodError: undefined method `pulp_id' for nil:NilClass"

Version-Release number of selected component (if applicable):
6.9.4

How reproducible:
always with

Steps to Reproduce:
1. Restore the 6.9.z satellite by using a specific customers database backup.
2. Satellite restored successfully.
3. Run the pulp migration and it gets failed with "NoMethodError: undefined method `pulp_id' for nil:NilClass" error.

Actual results:
pulp migration failed due to "NoMethodError: undefined method `pulp_id' for nil:NilClass" error.

Expected results:
pulp migration should be completed successfully.

Additional info: The error was happening due to corrupt data in the database, for the workaround, we can use "foreman-rake katello:correct_repositories COMMIT=true"

Actions #1

Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Justin Sherrill
  • Pull request https://github.com/Katello/katello/pull/9560 added
Actions #2

Updated by Chris Roberts over 3 years ago

  • Target version set to Katello 3.18.5
  • Triaged changed from No to Yes
Actions #3

Updated by Justin Sherrill over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Jonathon Turel over 3 years ago

  • Subject changed from Pulp migration failed with "NoMethodError: undefined method `pulp_id' for nil:NilClass" to Pulp migration failed with "NoMethodError: undefined method 'pulp_id' for nil:NilClass"
Actions

Also available in: Atom PDF