Bug #33150
closedundefined method 'pulp3_remote_href' for nil:NilClass (NoMethodError) when migrating during content view publish
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?
Updated by Ian Ballou over 3 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']}
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/9504 added
Updated by Ian Ballou over 3 years ago
- Target version set to Katello 3.18.5
- Triaged changed from No to Yes
Updated by Ian Ballou over 3 years ago
- Status changed from Ready For Testing to Closed
Updated by Jonathon Turel over 3 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