Project

General

Profile

Actions

Bug #33150

closed

undefined method 'pulp3_remote_href' for nil:NilClass (NoMethodError) when migrating during content view publish

Added by Ian Ballou over 2 years ago. Updated over 2 years ago.

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

Description

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

Description of problem:
Recently created repository leads to corrupted migrated remote. (Pulp2 to Pulp3 switch)

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

How reproducible:
Reported to be very reproducible.

Steps to Reproduce:
1. Create sync and publish a repository
2. migrate from Pulp 2 to Pulp 3
3.

Actual results:
An error is raised:
undefined method `pulp3_remote_href' for nil:NilClass (NoMethodError)

Expected results:

Additional info:
We need to find out why these repositories coming from the Pulp 2 repositories API are missing their pulp3_remote_hrefs. Is it a Pulp issue or a race condition with Katello?

Actions #1

Updated by Ian Ballou over 2 years ago

  • Subject changed from undefined method `pulp3_remote_href' for nil:NilClass (NoMethodError) when migrating during content view publish to undefined method `pulp3_remote_href' for nil:NilClass (NoMethodError) when migrating during content view publish

It seems other errors can pop up if you try publishing a content view during migration:

Validation failed: resources missing {'repositories_missing_distributors': ['1-Small_View-Library-35f7a2c7-40d1-4332-b3b3-8147b38b28a8']}
Actions #2

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9504 added
Actions #3

Updated by Ian Ballou over 2 years ago

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

Updated by Ian Ballou over 2 years ago

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

Updated by Jonathon Turel over 2 years ago

  • Subject changed from undefined method `pulp3_remote_href' for nil:NilClass (NoMethodError) when migrating during content view publish to undefined method 'pulp3_remote_href' for nil:NilClass (NoMethodError) when migrating during content view publish
Actions

Also available in: Atom PDF