Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-32143

Executing the 'katello::clean_backend_objects' rake task takes a long time to complete

XMLWordPrintable

    • 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

       

       

              Unassigned Unassigned
              rhn-support-mkalyat Mithun Kalyat
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: