Project

General

Profile

Actions

Bug #34539

closed

Pulp 3 migration failed with missing repositories.

Added by Justin Sherrill about 2 years ago. Updated about 2 years ago.

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

Description

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

Actions #1

Updated by The Foreman Bot about 2 years ago

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

Updated by Samir Jha about 2 years ago

  • Subject changed from Pulp 3 migration failed with missing repositories. to Pulp 3 migration failed with missing repositories.
  • Target version set to 3.18-no-release-planned
  • Triaged changed from No to Yes
Actions #3

Updated by Justin Sherrill about 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF