ystia / yorc

Ystia Orchestrator
https://ystia.github.io
Apache License 2.0
67 stars 23 forks source link

Concurrency issue in workflows execution may lead to a task never reaching a terminal status #659

Closed loicalbertin closed 4 years ago

loicalbertin commented 4 years ago

Bug Report

Description

Expected behavior

When a workflow terminates (whatever its status) the task status should be updated to a terminal status (DONE, FAILED or CANCELLED).

Actual behavior

In extremely rare cases, especially with workflow containing asynchronous operations (jobs) at the end of the workflow there is a concurrency issue that leads to the task status stay in RUNNING or CANCELLING even after processing all steps of the workflow.