[openstack-dev] [Heat] referencing the index of a ResourceGroup

Mike Spreitzer mspreitz at us.ibm.com
Thu Sep 11 15:22:48 UTC 2014


Steven Hardy <shardy at redhat.com> wrote on 09/11/2014 04:21:18 AM:

> On Wed, Sep 10, 2014 at 04:44:01PM -0500, Jason Greathouse wrote:
> >    I'm trying to find a way to create a set of servers and attach a 
new
> >    volume to each server. 
> >    ...
> 
> Basically creating lots of resource groups for related things is the 
wrong
> pattern.  You need to create one nested stack template containing the
> related things (Server, Volume and VolumeAttachment in this case), and 
use
> ResourceGroup to multiply them as a unit.
> 
> I answered a similar question here on the openstack general ML recently
> (which for future reference may be a better ML for usage questions like
> this, as it's not really development discussion):
> 
> 
http://lists.openstack.org/pipermail/openstack/2014-September/009216.html
> 
> Here's another example which I used in a summit demo, which I think
> basically does what you need?
> 
> https://github.com/hardys/demo_templates/tree/master/
> juno_summit_intro_to_heat/example3_server_with_volume_group

There is also an example of exactly this under review.  See 
https://review.openstack.org/#/c/97366/

Regards,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140911/f4ca687b/attachment.html>


More information about the OpenStack-dev mailing list