-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
6.16.3
Description of problem:
Rake process is stuck on "katello:correct_repositories" as well as "katello:clean_backend_objects"
[root@satellite ~]# echo "UpgradeTask.needing_run.all" | foreman-rake console
Loading production environment (Rails 6.1.7.8)
Switch to inspect mode.
UpgradeTask.needing_run.all
#<ActiveRecord::Relation #<UpgradeTask id: 1, name: "katello:correct_repositories", task_name: "katello:correct_repositories", long_running: true, always_run: true, skip_failure: true, last_run_time: "2025-03-25 17:16:10.281085000 +0000", ordering: 100, subject: "katello", created_at: "2024-07-29 16:56:21.641407000 +0000", updated_at: "2025-03-25 17:16:10.282718000 +0000">, #<UpgradeTask id: 2, name: "katello:clean_backend_objects", task_name: "katello:clean_backend_objects", long_running: true, always_run: true, skip_failure: true, last_run_time: "2025-03-25 17:16:10.609626000 +0000", ordering: 100, subject: "katello", created_at: "2024-07-29 16:56:21.643175000 +0000", updated_at: "2025-03-25 17:16:10.610975000 +0000">>
Steps to Reproduce:
Run a Satellite z version update, it will take more than 2 hours to complete the process.
- is related to
-
SAT-37218 Repetitive recalculation of Katello::RepositoryTypeManager.enabled_repository_types makes katello:correct_repositories very slow
-
- In Progress
-
- links to