Project

General

Profile

Bug #18684

Repository sync suspended on Actions::Pulp::Repository::RegenerateApplicability; pending on ImportApplicability

Added by Lachlan Simpson about 5 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

On CentOS 7.3

Sync two from two nights ago didn't complete. A number of products in suspended state, waiting on a single product sync to complete. Can't cancel or stop product sync, everything is on pause.

That product sync is paused on (from Dynaflow)

16: Actions::Pulp::Repository::RegenerateApplicability (suspended) [ 197646.82s / 1055.21s ]

Started at: 2017-02-24 16:02:58 UTC

Ended at: 2017-02-26 22:57:04 UTC

Real time: 197646.82s

Execution time (excluding suspended state): 1055.21s

Input:

---
pulp_id: Peter_MacCallum_Cancer_Centre-Zabbix_Official_Repository-zabbix
contents_changed: true
remote_user: admin
remote_cp_user: admin

Output:

---
pulp_task_group:
  group_id: 9a8074c1-60ad-460d-80ad-9c6148d739ca
  accepted: 0
  finished: 97
  running: 0
  canceled: 0
  waiting: 32
  skipped: 0
  suspended: 0
  error: 0
  total: 129
poll_attempts:
  total: 12287
  failed: 0

and pending on

18: Actions::Katello::Repository::ImportApplicability (pending)

Started at:

Ended at:

Real time: 0.00s

Execution time (excluding suspended state): 0.00s

Input:

---
repo_id: 497
contents_changed: Step(3).output[:contents_changed]

Output:

--- {}

There is no visible resume or exit link in the Dynaflow console. The cancel link on the sync_management page changes colour/clicks but doesn't result in any visible changes.

katello-service restart didn't work. Rebooting didn't work.

I have followed the resolution suggestion here: https://access.redhat.com/solutions/1381053

Loading foreman-rake console has the following message:

[root@vmpr-res-utils log]# foreman-rake console
/usr/share/foreman/lib/tasks/console.rake:6: warning: already initialized constant ARGV
For some operations a user must be set, try User.current = User.first
Loading production environment (Rails 4.2.5.1)
Failed to load console gems, starting anyway

And the final step "foreman-rake katello:reindex --trace" failed with

Don't know how to build task 'katello:reindex'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task_manager.rb:62:in `[]'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:149:in `invoke_task'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/opt/rh/rh-ruby22/root/usr/bin/rake:33:in `<main>'

We still have this product in an incomplete state and am unsure how to kill the task.

There are other synchronizations in a paused state waiting on this task to finish.

In foreman-console I have also tried, without success:

 ForemanTasks::Task.where(:state => :paused).where(:label =>"Actions::Katello::System::RegenerateApplicability").destroy_all

 ForemanTasks::Task.where(:state => :running).where(:label =>"Actions::Katello::System::RegenerateApplicability").destroy_all

I am reticent to do any more as I am aware that I am shooting in the dark and have no idea what any of those commands mean in a holistic sense (I have a vague idea from their syntax what they might mean in a stand alone sense, but it was guess work).

The "raw" from task pages

{"repository"=>{"id"=>497, "name"=>"zabbix-3.2", "label"=>"zabbix"},
 "product"=>
  {"id"=>14,
   "name"=>"Zabbix Official Repository",
   "label"=>"Zabbix_Official_Repository",
   "cp_id"=>"1469488490566"},
 "provider"=>{"id"=>1, "name"=>"Anonymous"},
 "organization"=>
  {"id"=>1,
   "name"=>"Peter MacCallum Cancer Centre",
   "label"=>"PMCC"},
 "services_checked"=>["pulp", "pulp_auth"],
 "id"=>497,
 "sync_result"=>
  {"contents_changed"=>true,
   "pulp_tasks"=>
    [{"exception"=>nil,
      "task_type"=>"pulp.server.managers.repo.sync.sync",
      "_href"=>"/pulp/api/v2/tasks/508bfe6b-3cda-469f-b2ca-557b51a85b52/",
      "task_id"=>"508bfe6b-3cda-469f-b2ca-557b51a85b52",
      "tags"=>
       ["pulp:repository:PMCC-Zabbix_Official_Repository-zabbix",
        "pulp:action:sync"],
      "finish_time"=>"2017-02-24T16:01:08Z",
      "_ns"=>"task_status",
      "start_time"=>"2017-02-24T16:00:59Z",
      "traceback"=>nil,
      "spawned_tasks"=>
       [{"_href"=>"/pulp/api/v2/tasks/f9cc1c60-2e81-474c-81ef-b7afe34f0f61/",
         "task_id"=>"f9cc1c60-2e81-474c-81ef-b7afe34f0f61"}],
      "progress_report"=>
       {"yum_importer"=>
         {"content"=>
           {"items_total"=>0,
            "state"=>"FINISHED",
            "error_details"=>[],
            "details"=>
             {"rpm_total"=>0, "rpm_done"=>0, "drpm_total"=>0, "drpm_done"=>0},
            "size_total"=>0,
            "size_left"=>0,
            "items_left"=>0},
          "comps"=>{"state"=>"FINISHED"},
          "purge_duplicates"=>{"state"=>"FINISHED"},
          "distribution"=>
           {"items_total"=>0,
            "state"=>"FINISHED",
            "error_details"=>[],
            "items_left"=>0},
          "errata"=>{"state"=>"FINISHED"},
          "metadata"=>{"state"=>"FINISHED"}}},
      "queue"=>
       "reserved_resource_worker-3@vmpr-res-utils.domain.com.dq",
      "state"=>"finished",
      "worker_name"=>
       "reserved_resource_worker-3@vmpr-res-utils.domain.com",
      "result"=>
       {"result"=>"success",
        "importer_id"=>"yum_importer",
        "exception"=>nil,
        "repo_id"=>
         "PMCC-Zabbix_Official_Repository-zabbix",
        "traceback"=>nil,
        "started"=>"2017-02-24T16:00:59Z",
        "_ns"=>"repo_sync_results",
        "completed"=>"2017-02-24T16:01:08Z",
        "importer_type_id"=>"yum_importer",
        "error_message"=>nil,
        "summary"=>
         {"content"=>{"state"=>"FINISHED"},
          "comps"=>{"state"=>"FINISHED"},
          "purge_duplicates"=>{"state"=>"FINISHED"},
          "distribution"=>{"state"=>"FINISHED"},
          "errata"=>{"state"=>"FINISHED"},
          "metadata"=>{"state"=>"FINISHED"}},
        "added_count"=>0,
        "removed_count"=>0,
        "updated_count"=>53,
        "id"=>"58b058c4bdb1d60a7401f65c",
        "details"=>
         {"content"=>
           {"size_total"=>0,
            "items_left"=>0,
            "items_total"=>0,
            "state"=>"FINISHED",
            "size_left"=>0,
            "details"=>
             {"rpm_total"=>0, "rpm_done"=>0, "drpm_total"=>0, "drpm_done"=>0},
            "error_details"=>[]},
          "comps"=>{"state"=>"FINISHED"},
          "purge_duplicates"=>{"state"=>"FINISHED"},
          "distribution"=>
           {"items_total"=>0,
            "state"=>"FINISHED",
            "error_details"=>[],
            "items_left"=>0},
          "errata"=>{"state"=>"FINISHED"},
          "metadata"=>{"state"=>"FINISHED"}}},
      "error"=>nil,
      "_id"=>{"$oid"=>"58b05889c47a37aeec805a38"},
      "id"=>"58b05889c47a37aeec805a38"},
     {"exception"=>nil,
      "task_type"=>"pulp.server.managers.repo.publish.publish",
      "_href"=>"/pulp/api/v2/tasks/f9cc1c60-2e81-474c-81ef-b7afe34f0f61/",
      "task_id"=>"f9cc1c60-2e81-474c-81ef-b7afe34f0f61",
      "tags"=>
       ["pulp:repository:PMCC-Zabbix_Official_Repository-zabbix",
        "pulp:action:publish"],
      "finish_time"=>"2017-02-24T16:02:41Z",
      "_ns"=>"task_status",
      "start_time"=>"2017-02-24T16:02:40Z",
      "traceback"=>nil,
      "spawned_tasks"=>[],
      "progress_report"=>
       {"PMCC-Zabbix_Official_Repository-zabbix"=>
         [{"num_success"=>1,
           "description"=>"Copying files",
           "step_type"=>"save_tar",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"dd7e7f5b-5750-484c-9ddb-e9d52dc3b261",
           "num_processed"=>1},
          {"num_success"=>1,
           "description"=>"Initializing repo metadata",
           "step_type"=>"initialize_repo_metadata",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"3a5bcff7-a5bc-432c-a322-c235bd5a3f18",
           "num_processed"=>1},
          {"num_success"=>0,
           "description"=>"Publishing Distribution files",
           "step_type"=>"distribution",
           "items_total"=>0,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"06510f4f-ce2d-4ccb-aa53-84398ff796e0",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Publishing RPMs",
           "step_type"=>"rpms",
           "items_total"=>0,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"eb7d1a05-c6f1-45f6-b9be-92a2000d517b",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Publishing Delta RPMs",
           "step_type"=>"drpms",
           "items_total"=>1,
           "state"=>"SKIPPED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"5e7353b1-2c4d-40a9-b1b5-999025da0d14",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Publishing Errata",
           "step_type"=>"errata",
           "items_total"=>0,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"174d0c5b-ecd0-4d27-9ff3-b6bc9564349b",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Publishing Comps file",
           "step_type"=>"comps",
           "items_total"=>0,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"009cdfc4-ece2-4258-9d26-38ff4140ed5d",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Publishing Metadata.",
           "step_type"=>"metadata",
           "items_total"=>0,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"6f7632d4-6bbe-49d3-b784-f1668ba684f9",
           "num_processed"=>0},
          {"num_success"=>1,
           "description"=>"Closing repo metadata",
           "step_type"=>"close_repo_metadata",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"3763f301-2e37-4393-8b15-e50dfc6ec0fd",
           "num_processed"=>1},
          {"num_success"=>0,
           "description"=>"Generating sqlite files",
           "step_type"=>"generate sqlite",
           "items_total"=>1,
           "state"=>"SKIPPED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"6a3e0474-4f83-470c-950c-a4fda666ea4d",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Generating HTML files",
           "step_type"=>"repoview",
           "items_total"=>1,
           "state"=>"SKIPPED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"7561dfd1-917a-4e22-8872-d450635aac1e",
           "num_processed"=>0},
          {"num_success"=>1,
           "description"=>"Publishing files to web",
           "step_type"=>"publish_directory",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"762cd4b4-29c6-4331-84a3-e9bb2e3149b0",
           "num_processed"=>1},
          {"num_success"=>1,
           "step_type"=>"initialize_repo_metadata",
           "description"=>"Writing Listings File",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"4e5355e4-0d02-43f2-b1cd-ff56aeaf2e7a",
           "num_processed"=>1},
          {"num_success"=>1,
           "description"=>"Writing Listings File",
           "step_type"=>"initialize_repo_metadata",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"dc027316-cbce-463b-b5d9-96a46e48aa43",
           "num_processed"=>1}]},
      "queue"=>
       "reserved_resource_worker-3@vmpr-res-utils.domain.com.dq",
      "state"=>"finished",
      "worker_name"=>
       "reserved_resource_worker-3@vmpr-res-utils.domain.com",
      "result"=>
       {"result"=>"success",
        "exception"=>nil,
        "repo_id"=>
         "PMCC-Zabbix_Official_Repository-zabbix",
        "started"=>"2017-02-24T16:02:40Z",
        "_ns"=>"repo_publish_results",
        "completed"=>"2017-02-24T16:02:41Z",
        "traceback"=>nil,
        "distributor_type_id"=>"yum_distributor",
        "summary"=>
         {"generate sqlite"=>"SKIPPED",
          "initialize_repo_metadata"=>"FINISHED",
          "rpms"=>"FINISHED",
          "repoview"=>"SKIPPED",
          "close_repo_metadata"=>"FINISHED",
          "drpms"=>"SKIPPED",
          "comps"=>"FINISHED",
          "distribution"=>"FINISHED",
          "save_tar"=>"FINISHED",
          "publish_directory"=>"FINISHED",
          "errata"=>"FINISHED",
          "metadata"=>"FINISHED"},
        "error_message"=>nil,
        "distributor_id"=>
         "PMCC-Zabbix_Official_Repository-zabbix",
        "id"=>"58b05921bdb1d60a7401f752",
        "details"=>
         [{"num_success"=>1,
           "description"=>"Copying files",
           "step_type"=>"save_tar",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"dd7e7f5b-5750-484c-9ddb-e9d52dc3b261",
           "num_processed"=>1},
          {"num_success"=>1,
           "description"=>"Initializing repo metadata",
           "step_type"=>"initialize_repo_metadata",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"3a5bcff7-a5bc-432c-a322-c235bd5a3f18",
           "num_processed"=>1},
          {"num_success"=>0,
           "description"=>"Publishing Distribution files",
           "step_type"=>"distribution",
           "items_total"=>0,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"06510f4f-ce2d-4ccb-aa53-84398ff796e0",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Publishing RPMs",
           "step_type"=>"rpms",
           "items_total"=>0,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"eb7d1a05-c6f1-45f6-b9be-92a2000d517b",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Publishing Delta RPMs",
           "step_type"=>"drpms",
           "items_total"=>1,
           "state"=>"SKIPPED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"5e7353b1-2c4d-40a9-b1b5-999025da0d14",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Publishing Errata",
           "step_type"=>"errata",
           "items_total"=>0,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"174d0c5b-ecd0-4d27-9ff3-b6bc9564349b",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Publishing Comps file",
           "step_type"=>"comps",
           "items_total"=>0,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"009cdfc4-ece2-4258-9d26-38ff4140ed5d",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Publishing Metadata.",
           "step_type"=>"metadata",
           "items_total"=>0,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"6f7632d4-6bbe-49d3-b784-f1668ba684f9",
           "num_processed"=>0},
          {"num_success"=>1,
           "description"=>"Closing repo metadata",
           "step_type"=>"close_repo_metadata",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"3763f301-2e37-4393-8b15-e50dfc6ec0fd",
           "num_processed"=>1},
          {"num_success"=>0,
           "description"=>"Generating sqlite files",
           "step_type"=>"generate sqlite",
           "items_total"=>1,
           "state"=>"SKIPPED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"6a3e0474-4f83-470c-950c-a4fda666ea4d",
           "num_processed"=>0},
          {"num_success"=>0,
           "description"=>"Generating HTML files",
           "step_type"=>"repoview",
           "items_total"=>1,
           "state"=>"SKIPPED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"7561dfd1-917a-4e22-8872-d450635aac1e",
           "num_processed"=>0},
          {"num_success"=>1,
           "description"=>"Publishing files to web",
           "step_type"=>"publish_directory",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"762cd4b4-29c6-4331-84a3-e9bb2e3149b0",
           "num_processed"=>1},
          {"num_success"=>1,
           "description"=>"Writing Listings File",
           "step_type"=>"initialize_repo_metadata",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"4e5355e4-0d02-43f2-b1cd-ff56aeaf2e7a",
           "num_processed"=>1},
          {"num_success"=>1,
           "description"=>"Writing Listings File",
           "step_type"=>"initialize_repo_metadata",
           "items_total"=>1,
           "state"=>"FINISHED",
           "error_details"=>[],
           "details"=>"",
           "num_failures"=>0,
           "step_id"=>"dc027316-cbce-463b-b5d9-96a46e48aa43",
           "num_processed"=>1}]},
      "error"=>nil,
      "_id"=>{"$oid"=>"58b058c4c47a37aeec805a4e"},
      "id"=>"58b058c4c47a37aeec805a4e"}],
   "poll_attempts"=>{"total"=>26, "failed"=>0}},
 "user_id"=>1,
 "contents_changed"=>true,
 "current_user_id"=>1}

from foreman:about:

candlepin-0.9.54.6-1.el7.noarch
candlepin-selinux-0.9.54.6-1.el7.noarch
foreman-1.13.4-1.el7.noarch
foreman-compute-1.13.4-1.el7.noarch
foreman-debug-1.13.4-1.el7.noarch
foreman-installer-1.13.4-1.el7.noarch
foreman-installer-katello-3.2.3-1.el7.noarch
foreman-postgresql-1.13.4-1.el7.noarch
foreman-proxy-1.13.4-1.el7.noarch
foreman-release-1.13.4-1.el7.noarch
foreman-release-scl-3-1.el7.noarch
foreman-selinux-1.13.4-1.el7.noarch
katello-3.2.2-1.el7.noarch
katello-agent-2.7.0-1.el7.noarch
katello-agent-fact-plugin-2.7.0-1.el7.noarch
katello-ca-consumer-vmpr-res-utils.unix.petermac.org.au-1.0-1.noarch
katello-certs-tools-2.4.0-1.el7.noarch
katello-client-bootstrap-1.1.0-1.el7.noarch
katello-common-3.2.2-1.el7.noarch
katello-debug-3.2.2-1.el7.noarch
katello-default-ca-1.0-1.noarch
katello-installer-base-3.2.3-1.el7.noarch
katello-repos-3.2.0-4.el7.noarch
katello-selinux-3.0.1-1.el7.noarch
katello-server-ca-1.0-1.noarch
katello-service-3.2.2-1.el7.noarch
pulp-admin-client-2.9.3-1.el7.noarch
pulp-client-1.0-1.noarch
pulp-docker-plugins-2.0.4-1.el7.noarch
pulp-katello-1.0.2-1.el7.noarch
pulp-puppet-plugins-2.9.3-1.el7.noarch
pulp-puppet-tools-2.9.3-1.el7.noarch
pulp-rpm-admin-extensions-2.9.3-1.el7.noarch
pulp-rpm-handlers-2.9.3-1.el7.noarch
pulp-rpm-plugins-2.9.3-1.el7.noarch
pulp-selinux-2.9.3-1.el7.noarch
pulp-server-2.9.3-1.el7.noarch
python-gofer-qpid-2.7.6-1.el7.noarch
python-isodate-0.5.0-4.pulp.el7.noarch
python-kombu-3.0.33-6.pulp.el7.noarch
python-pulp-agent-lib-2.9.3-1.el7.noarch
python-pulp-bindings-2.9.3-1.el7.noarch
python-pulp-client-lib-2.9.3-1.el7.noarch
python-pulp-common-2.9.3-1.el7.noarch
python-pulp-docker-common-2.0.4-1.el7.noarch
python-pulp-oid_validation-2.9.3-1.el7.noarch
python-pulp-puppet-common-2.9.3-1.el7.noarch
python-pulp-repoauth-2.9.3-1.el7.noarch
python-pulp-rpm-common-2.9.3-1.el7.noarch
python-pulp-streamer-2.9.3-1.el7.noarch
python-qpid-1.35.0-1.el7.noarch
python-qpid-common-1.35.0-1.el7.noarch
python-qpid-proton-0.14.0-2.el7.x86_64
python-qpid-qmf-1.35.0-1.el7.x86_64
python-urllib3-1.10.2-2.katello.el7.noarch
qpid-cpp-client-1.35.0-1.el7.x86_64
qpid-cpp-client-devel-1.35.0-1.el7.x86_64
qpid-cpp-server-1.35.0-1.el7.x86_64
qpid-cpp-server-linearstore-1.35.0-1.el7.x86_64
qpid-dispatch-router-0.6.1-4.el7.x86_64
qpid-proton-c-0.14.0-2.el7.x86_64
qpid-qmf-1.35.0-1.el7.x86_64
qpid-tools-1.35.0-1.el7.noarch
rubygem-smart_proxy_pulp-1.3.0-1.el7.noarch
tfm-rubygem-activerecord-session_store-0.1.2-2.el7.noarch
tfm-rubygem-addressable-2.3.6-3.el7.noarch
tfm-rubygem-algebrick-0.7.3-4.el7.noarch
tfm-rubygem-ancestry-2.0.0-5.el7.noarch
tfm-rubygem-anemone-0.7.2-14.el7.noarch
tfm-rubygem-angular-rails-templates-0.1.2-5.el7.noarch
tfm-rubygem-apipie-bindings-0.0.18-1.el7.noarch
tfm-rubygem-apipie-params-0.0.5-1.el7.noarch
tfm-rubygem-apipie-rails-0.3.6-1.el7.noarch
tfm-rubygem-audited-4.2.0-1.el7.noarch
tfm-rubygem-audited-activerecord-4.2.0-2.el7.noarch
tfm-rubygem-awesome_print-1.7.0-1.el7.noarch
tfm-rubygem-bastion-3.3.4-1.fm1_13.el7.noarch
tfm-rubygem-bundler_ext-0.4.1-1.el7.noarch
tfm-rubygem-clamp-1.0.0-5.el7.noarch
tfm-rubygem-colorize-0.7.7-4.el7.noarch
tfm-rubygem-concurrent-ruby-1.0.0-2.fm1_11.el7.noarch
tfm-rubygem-concurrent-ruby-edge-0.2.0-4.fm1_12.el7.noarch
tfm-rubygem-css_parser-1.3.7-1.el7.noarch
tfm-rubygem-daemons-1.2.3-3.el7.noarch
tfm-rubygem-deacon-1.0.0-1.el7.noarch
tfm-rubygem-deep_cloneable-2.1.1-4.el7.noarch
tfm-rubygem-deface-1.0.2-3.el7.noarch
tfm-rubygem-docker-api-1.28.0-2.el7.noarch
tfm-rubygem-domain_name-0.5.20160310-1.el7.noarch
tfm-rubygem-dynflow-0.8.15-1.fm1_13.el7.noarch
tfm-rubygem-excon-0.51.0-1.el7.noarch
tfm-rubygem-facter-2.4.0-3.el7.x86_64
tfm-rubygem-fast_gettext-1.1.0-1.el7.noarch
tfm-rubygem-fog-1.38.0-1.el7.noarch
tfm-rubygem-fog-aws-0.13.0-1.el7.noarch
tfm-rubygem-fog-core-1.42.0-1.el7.noarch
tfm-rubygem-fog-google-0.1.0-2.el7.noarch
tfm-rubygem-fog-json-1.0.2-4.el7.noarch
tfm-rubygem-fog-openstack-0.1.12-1.el7.noarch
tfm-rubygem-fog-rackspace-0.1.1-1.el7.noarch
tfm-rubygem-fog-vsphere-1.0.0-1.el7.noarch
tfm-rubygem-fog-xenserver-0.2.3-1.el7.noarch
tfm-rubygem-fog-xml-0.1.2-4.el7.noarch
tfm-rubygem-foreman-tasks-0.8.2-1.fm1_13.el7.noarch
tfm-rubygem-foreman-tasks-core-0.1.1-1.fm1_13.el7.noarch
tfm-rubygem-foreman_ansible-1.4.2-1.fm1_13.el7.noarch
tfm-rubygem-foreman_ansible-doc-1.4.2-1.fm1_13.el7.noarch
tfm-rubygem-foreman_ansible_core-1.0.0-1.fm1_13.el7.noarch
tfm-rubygem-foreman_discovery-7.0.1-1.fm1_13.el7.noarch
tfm-rubygem-foreman_docker-3.0.0-1.fm1_13.el7.noarch
tfm-rubygem-formatador-0.2.1-9.el7.noarch
tfm-rubygem-friendly_id-5.1.0-3.el7.noarch
tfm-rubygem-gettext_i18n_rails-1.2.1-3.el7.noarch
tfm-rubygem-hammer_cli-0.8.0-1.el7.noarch
tfm-rubygem-hammer_cli_foreman-0.8.0-1.el7.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3-5.el7.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.4-2.el7.noarch
tfm-rubygem-hammer_cli_foreman_tasks-0.0.10-2.fm1_12.el7.noarch
tfm-rubygem-hammer_cli_import-0.11.3-1.el7.noarch
tfm-rubygem-hammer_cli_katello-0.1.3-1.el7.noarch
tfm-rubygem-hashie-2.0.5-4.el7.noarch
tfm-rubygem-highline-1.6.21-5.el7.noarch
tfm-rubygem-http-cookie-1.0.2-1.el7.noarch
tfm-rubygem-ipaddress-0.8.0-9.el7.noarch
tfm-rubygem-jquery-ui-rails-4.1.2-5.el7.noarch
tfm-rubygem-katello-3.2.1.1-1.el7.noarch
tfm-rubygem-ldap_fluff-0.4.3-1.el7.noarch
tfm-rubygem-little-plugger-1.1.3-21.el7.noarch
tfm-rubygem-locale-2.0.9-11.el7.noarch
tfm-rubygem-logging-1.8.2-4.el7.noarch
tfm-rubygem-net-ldap-0.15.0-1.el7.noarch
tfm-rubygem-net-scp-1.1.0-6.el7.noarch
tfm-rubygem-net-ssh-3.0.2-2.el7.noarch
tfm-rubygem-netrc-0.7.7-7.el7.noarch
tfm-rubygem-oauth-0.4.7-8.el7.noarch
tfm-rubygem-parse-cron-0.1.4-2.fm1_11.el7.noarch
tfm-rubygem-passenger-4.0.18-9.11.el7.x86_64
tfm-rubygem-passenger-native-4.0.18-9.11.el7.x86_64
tfm-rubygem-passenger-native-libs-4.0.18-9.11.el7.x86_64
tfm-rubygem-pg-0.15.1-3.el7.x86_64
tfm-rubygem-powerbar-1.0.17-1.el7.noarch
tfm-rubygem-protected_attributes-1.1.3-3.el7.noarch
tfm-rubygem-qpid_messaging-0.34.1-1.el7.x86_64
tfm-rubygem-rabl-0.12.0-2.el7.noarch
tfm-rubygem-rack-jsonp-1.3.1-5.el7.noarch
tfm-rubygem-rails-i18n-4.0.9-1.el7.noarch
tfm-rubygem-rails-observers-0.1.2-7.el7.noarch
tfm-rubygem-rbvmomi-1.8.2-4.el7.noarch
tfm-rubygem-responders-2.3.0-1.el7.noarch
tfm-rubygem-rest-client-1.8.0-1.el7.noarch
tfm-rubygem-roadie-3.1.1-1.el7.noarch
tfm-rubygem-roadie-rails-1.1.1-1.el7.noarch
tfm-rubygem-robotex-1.0.0-19.el7.noarch
tfm-rubygem-ruby2ruby-2.1.3-4.el7.noarch
tfm-rubygem-ruby_parser-3.6.3-4.el7.noarch
tfm-rubygem-runcible-1.9.0-1.el7.noarch
tfm-rubygem-safemode-1.2.4-2.el7.noarch
tfm-rubygem-scoped_search-3.3.0-1.el7.noarch
tfm-rubygem-secure_headers-1.4.1-4.el7.noarch
tfm-rubygem-sequel-4.20.0-5.el7.noarch
tfm-rubygem-sexp_processor-4.4.4-3.el7.noarch
tfm-rubygem-table_print-1.5.1-6.el7.noarch
tfm-rubygem-trollop-2.0-5.el7.noarch
tfm-rubygem-unf-0.1.3-5.el7.noarch
tfm-rubygem-unf_ext-0.0.6-6.el7.x86_64
tfm-rubygem-validates_lengths_from_database-0.5.0-3.el7.noarch
tfm-rubygem-webpack-rails-0.9.8-1.el7.noarch
tfm-rubygem-wicked-1.1.0-4.el7.noarch
tfm-rubygem-will_paginate-3.1.0-2.el7.noarch
tfm-rubygem-x-editable-rails-1.5.5-1.el7.noarch
tfm-runtime-3.2-2.el7.x86_64

Expected result: sync just finishes.
Expected result: sync doesn't finish, ability to effectively and easily stop or cancel task should exist
Expected result: sync doesn't finish, ability to effectively stop or cancel task should exist

History

#1 Updated by Lachlan Simpson about 5 years ago

It's probably not the best solution, and it's certainly the least elegant, but it works.

If you have tasks that have been running a long time, in running state but suspended or pending, follow a method similar to Red Hat Satellite6 repository sync pending on Actions::Pulp::Repository::RegenerateApplicability but, once in the foreman-rake console, execute this instead:

ForemanTasks::Task.where(:state => :running).where(:label => "Actions::Pulp::Repository::RegenerateApplicability").destroy_all

I then found that foreman-rake, pulp-admin and GUI based sync attempts would throw errors.

This can be solved by re-running

foreman-installer --scenario katello --upgrade

#2 Updated by Justin Sherrill almost 5 years ago

  • Legacy Backlogs Release (now unused) deleted (222)

#3 Updated by Eric Helms almost 5 years ago

  • Status changed from New to Resolved
  • Legacy Backlogs Release (now unused) set to 166

This has been resolved in latest releases please upgrade and re-open if you hit the issue again.

Also available in: Atom PDF