Actions
Bug #12088
closedWhen executor with a role of delayed executor exits in a non-standard way, new executor would take over the job
Description
The problem is, when a Dynflow executor exits in non-standard way, a lock that prevents other executors
to take over the delayed execution is not released.
A workaround is to run this in rails console:
coordinator = ForemanTasks.dynflow.world.coordinator coordinator.find_locks(class: Dynflow::Coordinator::DelayedExecutorLock.name).each { |l| coordinator.release(l) }
and then restart the executor. After doing so, the one should see a flag "delayed_executor"=>true
in dynflow console /foreman_tasks/dynflow/worlds
at some executor world.
Actions