st2
st2 copied to clipboard
Delay policy is not working
SUMMARY
All action Chains are running together. It should run after the execution of first action-chain is complete.
st2 3.7.0, on Python 3.8.10
Steps to reproduce the problem
we have created a policy to make sure action-chain run one after another
name: action_name.concurrency description: Limits the concurrent executions for action. enabled: true resource_ref: pack.action_name policy_type: action.concurrency parameters: action: delay threshold: 1
Sample policy.yaml
Expected Results
Execution of the new action chain should start only after the previous one is completed
Actual Results
Multiple actions are running at the same time which is affecting our logic which checks the previous output.
Thanks!