<tt><font size=2>Lakshminaraya Renganarayana/Watson/IBM@IBMUS wrote on
10/30/2013 03:35:32 PM:<br>
<br>
> Zane Bitter <zbitter@redhat.com> wrote on 10/29/2013 08:46:21
AM:<br>
> ...<br>
> In this method <br>
> > (i.e. option (2) above) shouldn't we be building the dependency
graph in <br>
> > Heat rather than running through them sequentially as specified
by the <br>
> > user? In that case, we should use a dictionary not a list:<br>
> > <br>
> >    app_server:<br>
> >      type: OS::Nova::Server<br>
> >      properties:<br>
> >        components:<br>
> >          install_user_profile:<br>
> >            definition: InstallWasProfile<br>
> >            params:<br>
> >              user_id<br>
> >          install_admin_profile:<br>
> >            definition: InstallWasProfile<br>
> >            params:<br>
> >              admin_id<br>
> <br>
> I missed this implication of using a list! You are right, it should
be <br>
> a dictionary and Heat would be building the dependence graph. <br>
</font></tt>
<br><tt><font size=2>Using a dictionary instead of a list can work, but
I think we might be going overboard here.  Do we expect the component
invocations on a given VM instance to run concurrently?  I think that
has been dissed before.  Chef users are happy to let a role be a list
of recipes, not a DAG.  A list is simple; is there an actual problem
with it?</font></tt>
<br>
<br><tt><font size=2>Regards,</font></tt>
<br><tt><font size=2>Mike</font></tt>