Why do some repository syncs take extremely long on Satellite 6.2 while other comparable repositories synchronize quickly?

Solution Verified - Updated -

Issue

  • Synchronizing some custom repositories takes a significant amount of time (more than 40 minutes, often more than one hour), while other comparable repositories synchronize much quickly (3 to 5 minutes).

  • Inspecting the details for the Actions::Katello::Repository::Sync task reveals that it seems to take a disproportionate amount of time:

3: Actions::Pulp::Repository::Sync (success) [ 36.24s / 0.72s ]
6: Actions::Katello::Repository::IndexContent (success) [ 3.80s / 3.80s ]
14: Actions::Katello::Repository::ErrataMail (success) [ 0.09s / 0.09s ]
16: Actions::Katello::Repository::Sync (success) [ 2365.00s / 2365.00s ]
18: Actions::Pulp::Repository::RegenerateApplicability (success) [ 5.91s / 4.80s ]
20: Actions::Katello::Repository::ImportApplicability (success) [ 0.48s / 0.48s ]
  • Inspecting the underlying Pulp tasks reveals that Pulp tasks complete within the expected 3 to 5 minutes, but despite that Actions::Katello::Repository::Sync remains stuck for another 40 to 60 minutes.

Environment

  • Red Hat Satellite 6.2.5 or earlier.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.