Re: [openstack-dev] How to run a task when multiple tasks are completed

2016-05-25 Thread Alexey Shtokolov
Hi!

In case when all 4 tasks are on the same node you should use 'requires' and
'required_for' fields in the task definition to make dependencies between
them [0].
E.g.:

*- id: Task4*
  *version: [a version of the tasks graph execution engine] *
*  type: [one of: stage, group, skipped, puppet, shell] *
*  role: [matches roles for which this tasks should be executed] *
  *requires: [Task1, Task2, Task3]*


In case of cross-node dependencies you can use 'cross-depends' and
'cross-depended-by' [0].

[0] -
https://docs.mirantis.com/openstack/fuel/fuel-8.0/reference-architecture.html#task-based-deployment


2016-05-25 14:16 GMT+03:00 Jonnalagadda, Venkata <
venkata.jonnalaga...@intl.att.com>:

> Fuel Team,
>
>
>
> I have couple of tasks in Fuel (deployment_tasks.yaml) as below –
>
>
>
> Task1
>
> Task2
>
> Task3
>
> Task4
>
>
>
> Now, I want to run Task4 only when Tasks-1,2,3 are completed. How I can
> configure this in deployment_tasks yaml ? Please suggest.
>
>
>
> *Thanks & Regards,*
>
>
>
> *J. Venkata Mahesh*
>
>
>
>
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
---
WBR, Alexey Shtokolov
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] How to run a task when multiple tasks are completed

2016-05-25 Thread Jonnalagadda, Venkata
Fuel Team,

I have couple of tasks in Fuel (deployment_tasks.yaml) as below –

Task1
Task2
Task3
Task4

Now, I want to run Task4 only when Tasks-1,2,3 are completed. How I can 
configure this in deployment_tasks yaml ? Please suggest.

Thanks & Regards,

J. Venkata Mahesh


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev