After revisiting this today this is the error i get in the logs when i try and cancel through DynFlow UI
[2024-11-13T06:09:33.715228 #34623] ERROR -- /client-dispatcher: Could not find an executor for Dynflow::Dispatcher::Envelope[request_id: 3629338b-5624-446c-88da-790f0691c6b6-1, sender_id: 3629338b-5624-446c-88da-790f0691c6b6, receiver_id: Dynflow::Dispatcher::UnknownWorld, message: Dynflow::Dispatcher::Event[execution_plan_id: d6089bf4-25be-4c58-aa4a-ea5bfc83bfff, step_id: 16, event: Dynflow::Action::Cancellable::Cancel, time: , optional: false]] (Dynflow::Error)
and i can see an entry in the DB’s
foreman=# SELECT * FROM dynflow_execution_plans WHERE uuid = 'd6089bf4-25be-4c58-aa4a-ea5bfc83bfff' ;
uuid | data | state | result | started_at | ended_at | real_time | execution_time | label | class |
run_flow | finalize_flow |
execution_history
| root_plan_step_id | step_ids
--------------------------------------+------+---------+---------+------------------------+----------+-----------+----------------+------------------------------------+------------------------+--------------
--------------------------+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------+-------------------+----------------------------------------------------------------------------------------
--------
d6089bf4-25be-4c58-aa4a-ea5bfc83bfff | | running | warning | 2024-11-06 21:03:32.25 | | 0 | 0 | Actions::Katello::Repository::Sync | Dynflow::ExecutionPlan | ["S",4,6,9,12
,14,16,18,19,21,25,29,31] | ["S",7,23,27,30,32,34] | [{"time":1730927012,"name":"start execution","world_id":"1caedfc4-0b44-49d8-a373-747b67ae704b"},{"time":1731119968,"name":"terminate execution","world_id"
:"1caedfc4-0b44-49d8-a373-747b67ae704b"},{"time":1731119968,"name":"start execution","world_id":"494617e9-be73-422b-8718-16bea7fadf87"},{"time":1731120387,"name":"terminate execution","world_id":"494617e9-be
73-422b-8718-16bea7fadf87"},{"time":1731120388,"name":"start execution","world_id":"561eae99-6f4c-4cf5-91bb-948fae12153d"},{"time":1731120567,"name":"terminate execution","world_id":"561eae99-6f4c-4cf5-91bb-
948fae12153d"},{"time":1731122283,"name":"start execution","world_id":"e9012b91-ba20-4808-b5fd-430e6168d578"},{"time":1731123187,"name":"terminate execution","world_id":"e9012b91-ba20-4808-b5fd-430e6168d578"
},{"time":1731123188,"name":"start execution","world_id":"320eae37-0686-4dbf-8658-8f1c29c9f744"}] | 1 | [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32
,33,34]
(1 row)