Bug 2038241

Summary: ERROR: at least one Erratum record has migrated_pulp3_href NULL value
Product: Red Hat Satellite Reporter: Jan Jansky <jjansky>
Component: RepositoriesAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.9.8CC: Charles.Doolittle, jbhatia, jpasqual, jsenkyri, jsherril, ktordeur, pcreech, sadas, saydas, sbible
Target Milestone: 6.11.0Keywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2038911 2043720 (view as bug list) Environment:
Last Closed: 2022-07-05 14:31:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Jansky 2022-01-07 15:38:14 UTC
Description of problem:
When migration will finish some erratas not migrated which prevents to upgrade to 6.10.


Version-Release number of selected component (if applicable): 6.9.z


How reproducible: Customer specific


Steps to Reproduce:
1. satellite-maintain prep-6.10-upgrade
2. satellite-maintain content prepare
3. satellite-maintain upgrade run --target-version 6.10

Actual results:
Switching specified content over to pulp 3                            [FAIL]
Failed executing foreman-rake katello:pulp3_content_switchover, exit status 1:
 ERROR: at least one Erratum record has migrated_pulp3_href NULL value


Expected results:
Successful upgrade.

Additional info:
Same as https://bugzilla.redhat.com/show_bug.cgi?id=1939090 , but different root cause.

Comment 3 Justin Sherrill 2022-01-07 16:14:11 UTC
Created redmine issue https://projects.theforeman.org/issues/34235 from this bug

Comment 5 Bryan Kearney 2022-01-07 20:05:15 UTC
Upstream bug assigned to jsherril

Comment 6 Bryan Kearney 2022-01-07 20:05:16 UTC
Upstream bug assigned to jsherril

Comment 12 Brad Buckingham 2022-02-09 11:21:58 UTC
*** Bug 2024514 has been marked as a duplicate of this bug. ***

Comment 13 Sam Bible 2022-02-22 17:03:42 UTC
Version: 6.9.z

Reproduced with Red Hat Enterprise Linux 7 Server as installed Repo.

Steps to Reproduce:
1. satellite-maintain prep-6.10-upgrade
2. satellite-maintain content prepare
3. satellite-maintain upgrade run --target-version 6.10

Expected results:
Successful upgrade.

Actual Results:
Successful upgrade.
Output of satellite-maintain content migration-stats

============Migration Summary================
Migrated/Total RPMs: 32680/32680
Migrated/Total errata: 4942/4942
Migrated/Total repositories: 1/1
All content has been migrated.

Comment 16 errata-xmlrpc 2022-07-05 14:31:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5498