Mistral actions design

Registered by Renat Akhmerov

This BP is an attempt to get together the most important design ideas regarding Mistral actions. The questions that it answers:

- How do we distinguish synchronous and asynchronous actions? What's the formal criteria?
- How does action obtain its result?
- In what form does action return a result?
- Does action need to have revert() method along with run() method?
- Does action need to have dry_run() method?
- How does action expose errors occurring during it's work?
- How would a complete Action interface look like?
- How do we treat action input parameters?

Please follow specification url for more complete information.

Blueprint information

Status:
Complete
Approver:
Renat Akhmerov
Priority:
High
Drafter:
Renat Akhmerov
Direction:
Approved
Assignee:
Renat Akhmerov
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Renat Akhmerov
Completed by
Renat Akhmerov

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/85653
    Working on 'mistral-actions-design' BP

Addressed by: https://review.openstack.org/85951
    Working on "mistral-actions-design" BP

Gerrit topic: https://review.openstack.org/#q,topic:bp/add,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/action,n,z

Addressed by: https://review.openstack.org/86249
    Working on 'mistral-actions-design' BP: action creation

Gerrit topic: https://review.openstack.org/#q,topic:bp/Mistral,n,z

Addressed by: https://review.openstack.org/86284
    Working on 'mistral-actions-design' BP: Mistral HTTP action

Gerrit topic: https://review.openstack.org/#q,topic:bp/ad-hoc,n,z

Addressed by: https://review.openstack.org/86559
    Working on 'mistral-actions-design' BP: ad-hoc action

Addressed by: https://review.openstack.org/86674
    Working on 'mistral-actions-design' BP: ad-hoc actions in factory

Addressed by: https://review.openstack.org/87176
    BP mistral-actions-design (switch to new design)

Addressed by: https://review.openstack.org/87210
    BP mistral-actions-design (add SSH action)

Addressed by: https://review.openstack.org/87216
    BP mistral-actions-design (removing old actions, addressing previous comments)

Addressed by: https://review.openstack.org/87231
    BP mistral-actions-design (raw action spec -> ActionSpec)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.