Another option: 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 2.a The workflow can be stopped via Mistral API by a 3rd party, if needed. 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
Renat Akhmerov @Nokia > On 23 Mar 2017, at 09:40, Lingxian Kong <[email protected]> wrote: > > Yeah, as Bob said, cron-trigger is what you are looking for. > > 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. > > > Cheers, > Lingxian Kong (Larry) > > On Thu, Mar 23, 2017 at 1:16 PM, gongys2017 <[email protected] > <mailto:[email protected]>> wrote: > Hi mistral stackers, > > Tacker is using the mistral as its part of system. Now we have a requirement: > > tacker server registers an openstack as its NFVI, and needs to ping<or > http-ping) the openstack's management IP, > for example the keystone URL until tacker updates or delete the openstack > NFVI. > > Can the mistral be asked to start a workflow which contains just such a > kind of task: > for ever running until extenal tells him to stop. > > > Thanks > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > <http://[email protected]/?subject:unsubscribe> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev> > > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: [email protected]?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
