Add a Zaqar publisher for the notifier

Registered by Dougal Matthews on 2018-03-21

OpenStack users would benefit from receiving Mistral events. Mistral is capable of sending these but doesn't have a way to send events over Zaqar. These events would include information about when workflows start, stop, fail etc. and would allow the different clients to earlier detect changes and failures in Mistral.

If a workflow fails with an unhandled error, the clients may never receive notification of this. Currently they would need to poll mistral. However, with these notifications they would be sent by Mistral regardless of the workflow errors.

Mistral recently gained a notifier for sending event notifications. However, it doesn't currently support Zaqar. This support should be added. A rough patch which dosn't work, but is a start can be found here:

https://review.openstack.org/547666

Blueprint information

Status:
Started
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for ussuri
Implementation:
Good progress
Milestone target:
None
Started by
Dougal Matthews on 2018-08-03

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/mistral-execution-event-subscription,n,z

Addressed by: https://review.openstack.org/547666
    [WIP] Experimental work adding a Zaqar event publisher

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

Addressed by: https://review.openstack.org/584778
    Migrate mistral to using the serialization code in mistral-lib

Addressed by: https://review.openstack.org/585188
    Use oslo.config List type instead of eval()

Addressed by: https://review.openstack.org/587001
    Add a debug log for the webhook publisher

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.