Workflow Policies

Registered by Renat Akhmerov

We need an ability to define policies for workflow failures.

What happens when workflow fails?
    * Introduce workflow-level policy: failure-policy: suspend | fail | retry | rollback
    * default: fail (need more states...)
    * retry: allow fixing the problem and resuming

Generally, it's not only about failures but rather about any event happening with tasks. More details on that at https://etherpad.openstack.org/p/mistral-workflow-policies

Blueprint information

Status:
Complete
Approver:
Renat Akhmerov
Priority:
Medium
Drafter:
Renat Akhmerov
Direction:
Needs approval
Assignee:
Nikolay Makhotkin
Definition:
New
Series goal:
Accepted for juno
Implementation:
Implemented
Milestone target:
milestone icon 0.1
Started by
Renat Akhmerov
Completed by
Renat Akhmerov

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/mistral-workflow-policies,n,z

Addressed by: https://review.openstack.org/118127
    Adjusting policy interfaces

Addressed by: https://review.openstack.org/118128
    Including "policies" into task and workflow specs

Addressed by: https://review.openstack.org/118129
    Fixing workflow spec to return start task spec instead its name

Addressed by: https://review.openstack.org/118250
    Adding "wait-before" and "wait-after" to task policies

Addressed by: https://review.openstack.org/118256
    Renaming 'on-finish' to 'on-complete' in task spec

Addressed by: https://review.openstack.org/118577
    Refactoring engine to build and call task policies

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.