[openstack-dev] [Heat] Resource dependencies

Thomas Spatzier thomas.spatzier at de.ibm.com
Fri Mar 21 07:37:44 UTC 2014


Shaunak Kashyap <shaunak.kashyap at RACKSPACE.COM> wrote on 21/03/2014
05:26:50:

> From: Shaunak Kashyap <shaunak.kashyap at RACKSPACE.COM>
> To: "openstack-dev at lists.openstack.org"
<openstack-dev at lists.openstack.org>
> Date: 21/03/2014 05:29
> Subject: [openstack-dev] [Heat] Resource dependencies
>
> Hi,
>
> In a Heat template, what does it mean for a resource to depend on
> another resource? As in, what is the impact of creating a dependency?

When a resource depends on another resource, this means that the Heat
engine will only start processing this resource as soon as the other
resource it depends on has been created. If a resource depends on multiple
resources, all those other resources have to be created before processing
the depedent resource.

>
> I read http://docs.openstack.org/developer/heat/template_guide/
> hot_spec.html#resources-section and found this definition of the
> “depends_on” attribute:
>
> > This optional attribute allows for specifying dependencies of the
> current resource on one or more other resources. Please refer to
> section hot_spec_resources_dependencies for details.
>
>
> Unfortunately, I can’t seem to find the referenced
> “hot_spec_resources_dependencies” section anywhere.

I just checked the source in github and the section is there:

https://github.com/openstack/heat/blob/master/doc/source/template_guide/hot_spec.rst#L452

It only looks like the wrong heading markup is used. Nice spotting
actually; I will fix it.

>
> Thank you,
>
> Shaunak
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>


More information about the OpenStack-dev mailing list