Actions
Bug #25109
closedRunning a `sync_task` while the tasks service gets restarted might lead to passenger process hanging forever
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1635540
1. trigger an action that involves `sync_task` (I've used "curl X POST -k -u admin:changeme -H 'Content-Type: application/json' -d '{"name":"product'$RANDOM'","organization_id":"1"}' https://localhost/katello/api/v2/products", but e.g. host add_subscriptions uses `sync_task` ask well inside.
2. force-kill the dynflow_executor process while the task is running
3. restart foreman-tasks service
4. resume the task that got paused during the restart
Even though the task finished after resuming in point (4), the original web request did not get finished (the curl hangs, passenger-status --show=requests shows the request in the queue
Actions