[openstack-dev] [Heat][Mistral] How to use Mistral resources in Heat

Peter Razumovsky prazumovsky at mirantis.com
Thu Feb 26 11:49:27 UTC 2015


In anticipation of Mistral supporting in Heat, let's introduce using
Mistral in Heat.
1. For using Mistral resources workflow and cron-trigger in Heat, Mistral
must be installed to DevStack. Installation guide for DevStack on
https://github.com/stackforge/mistral/tree/master/contrib/devstack Detailed
information about Workflow and CronTrigger you can find on
https://wiki.openstack.org/wiki/Mistral Note, that currently Mistral use
DSLv2 (https://wiki.openstack.org/wiki/Mistral/DSLv2) and Rest API v2 (
https://wiki.openstack.org/wiki/Mistral/RestAPIv2).
2. When Mistral will be installed, check it accessibility - in screen or
using command 'mistral --help' (list of commands). You can test Mistral
resources creating workflow resources with DSLv2-formatted definitions,
cron-triggers and executions.
For example, command 'mistral workflow-list' gives the table:
Starting new HTTP connection (1): 192.168.122.104
Starting new HTTP connection (1): localhost
+---------------------+--------+------------------------------+---------------------+------------+
| Name                | Tags   | Input                        | Created
at          | Updated at |
+---------------------+--------+------------------------------+---------------------+------------+
| std.create_instance | <none> | name, image_id, flavor_id... | 2015-01-27
14:16:21 | None       |
| std.delete_instance | <none> | instance_id                  | 2015-01-27
14:16:21 | None       |
+---------------------+--------+------------------------------+---------------------+------------+

3. Mistral resources for Heat you can find there:
https://review.openstack.org/#/q/status:open+project:openstack/heat+branch:master+topic:bp/mistral-resources-for-heat,n,z
4. Simple templates using Mistral resources in Heat templates you can find
there:
https://wiki.openstack.org/wiki/Heat_Mistral_resources_usage_examples
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150226/02c09eba/attachment.html>


More information about the OpenStack-dev mailing list