Sync tasks keeps running in Red Hat Satellite v6

Solution Unverified - Updated

Environment

  • Red Hat Satellite v6
  • RedHat Satellite v6.1.1
  • Red Hat Enterprise Linux

Issue

  • Sync tasks keeps running for a longer time.
  • Unable to Synchronize repository.
  • Synchronizing repository is not getting completed.

Resolution

  • Execute the below commands on your satellite server.
# for i in pulp_resource_manager pulp_workers pulp_celerybeat; do service $i stop; done
# sudo -u apache pulp-manage-db
# katello-service restart
# foreman-rake katello:reindex
  • For Satellite 6.1.1 restart below pulp services
# systemctl restart pulp_workers
# systemctl restart pulp_celerybeat
# systemctl restart pulp_resource_manager

For more KB articles/solutions related to Red Hat Satellite 6.x Pulp 2.0 Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Pulp 2.0-related Issues

Diagnostic Steps

Look for the logs under '/var/log/messages'

"pulp: pulp.server.db.migrate.models:ERROR: pulp_rpm.plugins.migrations hasn't been updated to the latest available migration."

In RedHat Satellite 6.1.1 check dynflow run

 Actions::Pulp::Repository::Sync (waiting for Pulp to start task)
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.