Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1998796 - Pulp 3 migration failed with missing repositories.
Summary: Pulp 3 migration failed with missing repositories.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.9.9
Assignee: Justin Sherrill
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-29 02:07 UTC by Hao Chang Yu
Modified: 2022-04-20 20:35 UTC (History)
2 users (show)

Fixed In Version: tfm-rubygem-katello-3.18.1.51-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-20 20:34:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34539 0 Normal New Pulp 3 migration failed with missing repositories. 2022-03-01 16:30:55 UTC
Foreman Issue Tracker 34540 0 Normal Ready For Testing rake katello:correct_repositories will try to re-create content in katello 2022-03-02 18:40:45 UTC
Red Hat Product Errata RHSA-2022:1478 0 None Closed [RFE] Configuring hybrid ovnkubernetes through ACM 2022-06-22 15:56:43 UTC

Description Hao Chang Yu 2021-08-29 02:07:48 UTC
Description of problem:
Pulp 3 migration failed with the following errors due to missing repositories.

satellite-maintain content prepare 
Running Prepare content for Pulp 3
================================================================================

--------------------------------------------------------------------------------
Prepare content for Pulp 3: 
Checking for valid Katello configuraton.
Starting task.
2021-08-28 16:48:11 +1000: Content migration starting. Migration failed, You will want to investigate: https://hao-satellite66.usersys.redhat.com/foreman_tasks/tasks/6f4fa2bb-d1a8-44c5-9ae3-3eff5b7daf73
rake aborted!
ForemanTasks::TaskError: Task 6f4fa2bb-d1a8-44c5-9ae3-3eff5b7daf73: Katello::Errors::Pulp3Error: Validation failed: resources missing {'repositories': ['1-all_repos_cv_4-v1_0-bf55e9eb-7332-4e97-884e-d4e03601919e', '1-all_repos_cv_4-v1_0-8dae518f-89fb-4b55-a2de-2eff4f2bc956', '1-all_repos_cv_4-v1_0-ad5ad108-c591-4d0a-bb4b-16730e0cd6a4', '1-all_repos_cv_4-v1_0-29f63948-adfd-4ce6-9b43-426c6bc776ad', '1-all_repos_cv_4-v1_0-e386b474-64df-40e7-94a2-fc077228985c', '1-all_repos_cv_4-v1_0-f82e6c9c-841f-4e74-979c-537ad2cbdf11', '1-all_repos_cv_4-v1_0-302c753f-da2a-4eac-b5c6-80383b97ed5a'
...


Suggest to run the correct repositories before the starting the migration to ensure the data consistency and probably give warning about missing repositories.

foreman-rake katello:correct_repositories COMMIT=true

Comment 4 Justin Sherrill 2022-03-01 16:30:54 UTC
Created redmine issue https://projects.theforeman.org/issues/34539 from this bug

Comment 11 errata-xmlrpc 2022-04-20 20:34:52 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 (Important: Satellite 6.9.9 Async Bug Fix Update), 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:1478


Note You need to log in before you can comment on or make changes to this bug.