<div dir="ltr">Hi!<div><br></div><div>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].</div><div>E.g.:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><b>- id: Task4</b></div> <i>version: [a version of the tasks graph execution engine] </i><div><i> type: [one of: stage, group, skipped, puppet, shell] </i></div><div><i> role: [matches roles for which this tasks should be executed] </i></div><div> <b>requires: [Task1, Task2, Task3]</b></div></blockquote><div><div><br></div><div>In case of cross-node dependencies you can use 'cross-depends' and 'cross-depended-by' [0].<br></div><div><br></div><div>[0] - <a href="https://docs.mirantis.com/openstack/fuel/fuel-8.0/reference-architecture.html#task-based-deployment">https://docs.mirantis.com/openstack/fuel/fuel-8.0/reference-architecture.html#task-based-deployment</a></div></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-25 14:16 GMT+03:00 Jonnalagadda, Venkata <span dir="ltr"><<a href="mailto:Venkata.Jonnalagadda@intl.att.com" target="_blank">Venkata.Jonnalagadda@intl.att.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Fuel Team,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I have couple of tasks in Fuel (deployment_tasks.yaml) as below –<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Task1<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Task2<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Task3<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Task4<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">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.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:9.0pt;color:#1f497d">Thanks & Regards,<u></u><u></u></span></b></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Copperplate Gothic Bold",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Copperplate Gothic Bold",sans-serif;color:#943634">J. Venkata Mahesh</span></b><b><span style="font-size:11.0pt;font-family:"Copperplate Gothic Bold",sans-serif;color:#1f497d"><u></u><u></u></span></b></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Copperplate Gothic Bold",sans-serif;color:#1f497d"><u></u> <u></u></span></p><div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p></blockquote></div></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" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">---<div>WBR, Alexey Shtokolov</div></div></div>
</div></div>