<div dir="ltr">My mistake about the mailing list, The openstack heat wiki page (<a href="https://wiki.openstack.org/wiki/Heat">https://wiki.openstack.org/wiki/Heat</a>) only lists the "dev" list. I will make sure to ask future usage questions on the other one. <div><br></div><div>Thank you for the response and example. This is what I was missing. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 11, 2014 at 3:21 AM, Steven Hardy <span dir="ltr"><<a href="mailto:shardy@redhat.com" target="_blank">shardy@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Sep 10, 2014 at 04:44:01PM -0500, Jason Greathouse wrote:<br>
> I'm trying to find a way to create a set of servers and attach a new<br>
> volume to each server.<br>
> I first tried to use block_device_mapping but that requires an existing<br>
> snapshot or volume and the deployment would fail when Rackspace<br>
> intermittently timed out trying to create the new volume from a<br>
> snapshot.<br>
> I'm now trying with 3 ResourceGroups: OS::Cinder::Volume to build volumes<br>
> followed by OS::Nova::Server and then trying to attach the volumes<br>
> with OS::Cinder::VolumeAttachment.<br>
<br>
</span>Basically creating lots of resource groups for related things is the wrong<br>
pattern. You need to create one nested stack template containing the<br>
related things (Server, Volume and VolumeAttachment in this case), and use<br>
ResourceGroup to multiply them as a unit.<br>
<br>
I answered a similar question here on the openstack general ML recently<br>
(which for future reference may be a better ML for usage questions like<br>
this, as it's not really development discussion):<br>
<br>
<a href="http://lists.openstack.org/pipermail/openstack/2014-September/009216.html" target="_blank">http://lists.openstack.org/pipermail/openstack/2014-September/009216.html</a><br>
<br>
Here's another example which I used in a summit demo, which I think<br>
basically does what you need?<br>
<br>
<a href="https://github.com/hardys/demo_templates/tree/master/juno_summit_intro_to_heat/example3_server_with_volume_group" target="_blank">https://github.com/hardys/demo_templates/tree/master/juno_summit_intro_to_heat/example3_server_with_volume_group</a><br>
<br>
Steve.<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font size="4" style="color:rgb(136,136,136)"><b><font face="courier new, monospace">Jason Greathouse</font></b><br></font><font face="courier new, monospace" color="#999999">Sr. Systems Engineer</font><div style="color:rgb(136,136,136);font-size:12.8000001907349px"><div><strong style="color:rgb(34,34,34)"><br><a href="https://leankit.com/" style="color:rgb(17,85,204)" target="_blank"><img src="http://leankit.com/assets/images/leankit.png" width="120" height="30" alt="LeanKitlogo"></a></strong></div></div></div>
</div>