Ansible tasks stuck on pending status

I have exactly the same problem as in

Jobs never either succeed or fail, but just hang forever
Expected outcome:
Jobs either start or fail
Foreman and Proxy versions:
Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

I tried to edit in other relevant data:
The foreman-tasks service is not running, but shows status ‘bad’
And says unit not found when trying to restart

it sounds like you’re hitting similar thing as in Tasks ending with warnings after Katello 3.15 upgrade . Could you stop the dynflowd service and check if dynflow-sidekiq@orchestrator and dynflow-sidekiq@worker services are up and running?

1 Like

That was helpfull, but I still can’t get it to work.
I didn’t apply the patch, since it was for 3.15 and I got 3.16
(seems I was missing katello altogether)
after running foreman-rake db:migrate I got errors stating something about the plugin pulp-ansible, so I installed tfm-rubygem-pulp_ansible_client
I receive an error that says:
PreformInvalid single-table inheritance type: ConfigManagementError is not a subclass of RemoveKatelloFromNotificationName::FakeMailNotificationatted text
followed by The same message prefixed with ActiveRecord::SubclassNotFound:

I went straight to the link and completely missed your question.
Neither of these services are running…
Should I manually try to start them ?