-
Bug
-
Resolution: Unresolved
-
Major
-
6.16.3
-
3
-
False
-
Important
-
Artemis Prioritized Backlog
-
sat-artemis
-
None
-
None
-
None
-
To Do
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">|#<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.
Additional Information
- Correct_repositories handled by https://issues.redhat.com/browse/SAT-37218
- We need to fix "katello:clean_backend_objects" separately.
- Evaluate the performance of this task
- Improve it if necessary.
- is related to
-
SAT-40487 Repetitive recalculation of Katello::RepositoryTypeManager.enabled_repository_types makes katello:correct_repositories very slow
-
- In Progress
-
-
SAT-37218 Repetitive recalculation of Katello::RepositoryTypeManager.enabled_repository_types makes katello:correct_repositories very slow
-
- Testing
-
- links to