<div dir="ltr"><div><div>Hi Renat,<br><br></div>We solved problem with referencing. I'll add more tests for understanding, how Mistral Workflow resource look like in Heat template. <br><br></div><br><div class="gmail_extra"><div class="gmail_quote">2015-03-03 14:35 GMT+03:00 Renat Akhmerov <span dir="ltr"><<a href="mailto:rakhmerov@mirantis.com" target="_blank">rakhmerov@mirantis.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Hi Peter,<div><br></div><div>Thanks for sharing this.. Overall it looks good to me, I just left a couple of comments/questions in <a href="https://review.openstack.org/#/c/147645/17/contrib/heat_mistral/heat_mistral/tests/test_workflow.py" target="_blank">https://review.openstack.org/#/c/147645/17/contrib/heat_mistral/heat_mistral/tests/test_workflow.py</a> Could you please take a look?</div><div><br></div><div>We keep in mind that one thing is still not implemented: workflow references get broken if we upload a workflow which calls another workflow. We need to discuss the best way to deal with that. Either we need to do in Heat itself to restore those references accounting for stack name etc.. Or we need to provide some facility in Mistral itself.</div><div><br></div><div>Other than that it looks to be ready to start gathering Heat folks’ feedback.</div><div><br></div><div><div>
<div>Renat Akhmerov</div><div>@ Mirantis Inc.</div><div><br></div><br>
</div>
<br><div><blockquote type="cite"><div><div class="h5"><div>On 26 Feb 2015, at 17:49, Peter Razumovsky <<a href="mailto:prazumovsky@mirantis.com" target="_blank">prazumovsky@mirantis.com</a>> wrote:</div><br></div></div><div><div><div class="h5"><div dir="ltr"><div><span lang="en">In anticipation of Mistral supporting in Heat, let's introduce using Mistral in Heat.<br></span></div><div><span lang="en">1. For using Mistral resources workflow and cron-trigger in Heat, Mistral must be installed to DevStack. </span><span lang="en"><span lang="en"><span>Installation guide for DevStack on <a href="https://github.com/stackforge/mistral/tree/master/contrib/devstack" target="_blank">https://github.com/stackforge/mistral/tree/master/contrib/devstack</a> </span></span>Detailed information about Workflow and CronTrigger you can find on <a href="https://wiki.openstack.org/wiki/Mistral" target="_blank">https://wiki.openstack.org/wiki/Mistral</a> Note, that currently Mistral use DSLv2 (<a href="https://wiki.openstack.org/wiki/Mistral/DSLv2" target="_blank">https://wiki.openstack.org/wiki/Mistral/DSLv2</a>) and Rest API v2 (<a href="https://wiki.openstack.org/wiki/Mistral/RestAPIv2" target="_blank">https://wiki.openstack.org/wiki/Mistral/RestAPIv2</a>).<br></span></div><div><span lang="en">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.<br></span></div><div><span lang="en">For example, command 'mistral workflow-list' gives the table:<br>Starting new HTTP connection (1): 192.168.122.104<br>Starting new HTTP connection (1): localhost<br>+---------------------+--------+------------------------------+---------------------+------------+<br>| Name | Tags | Input | Created at | Updated at |<br>+---------------------+--------+------------------------------+---------------------+------------+<br>| std.create_instance | <none> | name, image_id, flavor_id... | 2015-01-27 14:16:21 | None |<br>| std.delete_instance | <none> | instance_id | 2015-01-27 14:16:21 | None |<br>+---------------------+--------+------------------------------+---------------------+------------+<br><br></span></div><div><span lang="en">3. Mistral resources for Heat you can find there: <br><a href="https://review.openstack.org/#/q/status:open+project:openstack/heat+branch:master+topic:bp/mistral-resources-for-heat,n,z" target="_blank">https://review.openstack.org/#/q/status:open+project:openstack/heat+branch:master+topic:bp/mistral-resources-for-heat,n,z</a><br></span></div><div><span lang="en">4. Simple templates using Mistral resources in Heat templates you can find there:<br> <a href="https://wiki.openstack.org/wiki/Heat_Mistral_resources_usage_examples" target="_blank">https://wiki.openstack.org/wiki/Heat_Mistral_resources_usage_examples</a><br></span></div><span lang="en"><span></span></span></div></div></div>
__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br></div></blockquote></div><br></div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>