<div dir="ltr">`Hi all,<div><br></div><div>I guess I understood how heat create works. and also the <span style="font-size:12.8px">meaning of options [ suspend, resume, check stack, change stack template ].</span></div><div><br></div><div><span style="font-size:12.8px">So now whole stack is a single object. </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I am trying to use os_client_config to create heat stack as:</span></div><div><br></div><div><b>heat = os_client_config.make_client('orchestration')</b></div><div><br></div><div>now heat object has a function create_stack(**kwargs)</div><div><br></div><div><br></div><div>I tried to use it as:</div><div><br></div><div>template = {</div><div><br></div><div>'description': 'network and instances',</div><div> 'heat_template_version': '2015-10-15',</div><div> 'resources': {'net-a': {'properties': {'name': 'network-a'},</div><div>   'type': 'OS::Neutron::Net'}}</div><div><br></div><div>}</div><div> </div><div><br></div><div><b>stack = heat.stacks.create(**template)</b></div><div><br></div><div>it throws error as  ERROR: No stack name specified</div><div><br></div><div>so I added new key as <b>template.update({'stack_name': 'stack-a'})</b></div><div><br></div><div>and this time I got error as ERROR: No template specified</div><div><br></div><div><br></div><div>what would be the proper procedure to launch stack by os_client_config.</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Regards</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 4, 2017 at 5:53 PM, Amit Uniyal <span dir="ltr"><<a href="mailto:auniyal61@gmail.com" target="_blank">auniyal61@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>Please help with heat service, the only example I could find is to create new stack. But how to use existing stack template which is already stored by orchestration service.</div><div><br></div><div>My understanding is we need to form/write a .yaml template and create new stack by this template. It saves this template on orchestration and run the template. According to template VMs will get launch (or other tasks) and it should be finished. then whats the meaning of options [ suspend, resume, check stack, change stack template ].</div><div><br></div><div>How can we rerun the same template without form/creating new stack in openstack.</div><div><br></div><div><br></div><div>Thanks and Regards</div><div><br></div></div>
</blockquote></div><br></div>