<div dir="ltr">Renat:<div><br></div><div>Perfect. A combination of 1 and 2a would fit our needs. </div><div><br></div><div>One reason we are venturing toward an async workflow is to address the scale limitation in tacker. Now, do you've some pointers how well mistral scales (so that we don't just move our scale problem down to the mistral dependency). Looking at the mistral architecture [*], is it safe to assume the individual mistral components like api, engine, scheduler, executor can be linearly scaled across different hosts ?</div><div><br></div><div>- Sridhar</div><div><br></div><div>[*] <a href="https://docs.openstack.org/developer/mistral/architecture.html">https://docs.openstack.org/developer/mistral/architecture.html</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 22, 2017 at 11:22 PM, Renat Akhmerov <span dir="ltr"><<a href="mailto:renat.akhmerov@gmail.com" target="_blank">renat.akhmerov@gmail.com</a>></span> wrote:<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">Another option:<div><br></div><div>1. Run a workflow with a loop (i.e. task calls itself), in order to have a delay between task executions you can use either wait-before/wait-after task policies</div><div>2.a The workflow can be stopped via Mistral API by a 3rd party, if needed.</div><div>2.b The workflow can have a special task that checks if it still needs to be running (i.e. making a request to a 3rd party), it can be done using conditional transitions</div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div></font></span><div><span class="gmail-HOEnZb"><font color="#888888"><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>Renat Akhmerov</div><div>@Nokia</div></div>

</div></font></span><div><div class="gmail-h5">
<br><div><blockquote type="cite"><div>On 23 Mar 2017, at 09:40, Lingxian Kong <<a href="mailto:anlin.kong@gmail.com" target="_blank">anlin.kong@gmail.com</a>> wrote:</div><br class="gmail-m_7173711299053143778Apple-interchange-newline"><div><div dir="ltr"><div style="font-family:tahoma,sans-serif">Yeah, as Bob said, cron-trigger is what you are looking for.</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">As our discussion on IRC, currently, Mistral doesn't support to execute shell command directly, my suggestion is, you could consider using http action (which is supproted by Mistral out of the box) or providing a host (physical or virtual) to run 'ping' command and use ssh action in Mistral.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail-m_7173711299053143778gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font face="tahoma, sans-serif"><br>Cheers,<br>Lingxian Kong (Larry)</font></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Mar 23, 2017 at 1:16 PM, gongys2017 <span dir="ltr"><<a href="mailto:gongys2017@aliyun.com" target="_blank">gongys2017@aliyun.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-m_7173711299053143778m_-6495264606226733435__aliyun_email_body_block"><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px">Hi mistral stackers,</span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px"><br></span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px">Tacker is using the mistral as its part of system. Now we have a requirement:</span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px"><br></span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px">tacker server registers an openstack as its NFVI, and needs to ping<or http-ping) the openstack's management IP,</span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px">for example the keystone URL until tacker updates or delete the openstack NFVI.</span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px"><br></span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px">Can the mistral be asked to start a workflow which  contains  just such a kind of task:</span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px">for ever running until extenal tells him to stop.</span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px"><br></span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px"><br></span></div><div style="clear:both"><span style="font-family:tahoma,arial,stheiti,simsun;font-size:14px">Thanks<br></span></div></div><br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
<br></blockquote></div><br></div>
______________________________<wbr>______________________________<wbr>______________<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.<wbr>openstack.org</a>?subject:<wbr>unsubscribe<br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br></div></blockquote></div><br></div></div></div></div><br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div></div>