Importing manifest never completes and the Actions::Katello::Provider::ManifestImport task goes in planned-pending state on Red Hat Satellite 6.
Environment
- Red Hat Satellite 6.2.z.
Issue
- Importing manifest takes a long time and never completes. The task
Actions::Katello::Provider::ManifestImportgoes in planned and pending state.
Resolution
- Change the state of task
Actions::Katello::Provider::ManifestImportfrom planned to stopped.
# systemctl stop foreman-tasks
# foreman-rake console
ForemanTasks::Task.where(:label => "Actions::Katello::Provider::ManifestImport", :state => "planned").map { |task| task.update_column(:state, "stopped") }
# systemctl start foreman-tasks
- Confirm that the task is now present in stopped tasks:
# su - postgres -c "psql -d foreman -c 'select label,count(*),state from foreman_tasks_tasks where state = '\''stopped'\'' group by label,state;'"
- Restart the Satellite service:
# katello-service restart
- Now try to import manifest again on Satellite, go to Satellite web UI -->
Content-->Red Hat Subscriptions-->Manage Manifest--> ClickChoose File, select the manifest file you created, and clickOpen-->Upload.
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
