<div dir="ltr">Hi,<div><br></div><div>could you please post the exact template and the exact command to create the stack from this template you were using when you got this error? It would really help to understand the problem better.</div><div><br></div><div>Best regards,</div><div>Pavlo Shchelokovskyy.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 23, 2014 at 12:08 PM, Michelakis, Spiros (NSN - GR/Athens) <span dir="ltr"><<a href="mailto:spiros.michelakis@nsn.com" target="_blank">spiros.michelakis@nsn.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div>
<font face="Helvetica" size="1"><span style="font-size:8pt">
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">Hi</span><span style="background-color:white">,</span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">I</span><span style="background-color:white">’</span><span style="background-color:white">m trying
to</span><span style="background-color:white"> create a stack by using heat templates. I</span><span style="background-color:white">’</span><span style="background-color:white">m using this command</span><span style="background-color:white">, as it is described
in OSR manual</span><span style="background-color:white">:</span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white"><i>stack-create mystack --template-file /PATH_TO_HEAT_TEMPLATES/WordPress_Single_Instance.template --parameters
"InstanceType=m1.large;DBUsername=USERNAME;DBPassword=PASSWORD;KeyName=HEAT_KEY;LinuxDistribution=F17"</i></span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">when </span><span style="background-color:white">I</span><span style="background-color:white"> </span><span style="background-color:white">try</span><span style="background-color:white">
to run this command havin</span><span style="background-color:white">g the same flavor for all my instances, it works fine. The problem </span><span style="background-color:white">raises</span><span style="background-color:white"> when </span><span style="background-color:white">I
want to create 2 or more </span><span style="background-color:white">instances with different flavors </span><span style="background-color:white">on </span><span style="background-color:white">each one</span><span style="background-color:white"> of them</span><span style="background-color:white">.</span><span style="background-color:white">
</span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">I</span><span style="background-color:white">’</span><span style="background-color:white">m using these
parameters o</span><span style="background-color:white">n the </span><span style="background-color:white">“</span><span style="background-color:white">–</span><span style="background-color:white">parameters</span><span style="background-color:white">”</span><span style="background-color:white">
field</span><span style="background-color:white"> on the above command</span><span style="background-color:white">:</span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white"><i>{"key_name":"security_key","image_name":"my_image_name","cluster_identification":"<tenant_name>","disk_config_size":"1","disk_mstate_size":"1","disk_log_size":"1","disk_services_size":"1",</i></span><font color="red"><span style="background-color:white"><b><i>"flavor_1":"</i></b></span></font><font color="red"><span style="background-color:white"><b><i>small_</i></b></span></font><font color="red"><span style="background-color:white"><b><i>flavor_1_name","flavor_2":"</i></b></span></font><font color="red"><span style="background-color:white"><b><i>small_</i></b></span></font><font color="red"><span style="background-color:white"><b><i>flavor_2_name"</i></b></span></font><span style="background-color:white"><i>}</i></span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">The error that raises when </span><span style="background-color:white">I’</span><span style="background-color:white">m
trying to execute this command is:</span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white"><i>“</i></span><span style="background-color:white"><i>error: NegativeStateReached: Object "id:c2dda18d-9019-4e9c-8514-245650e4b201
name:ng-ci-20141020-184706-heat_name" negative state "stack_status":"CREATE_FAILED" reached (Resource CREATE failed: Error: Creation of server 2 failed.)</i></span><span style="background-color:white"><i>”</i></span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">I have checked logs under </span><font face="Courrier New"><span style="font-size:9pt;background-color:white">/var/log/messages</span></font><span style="background-color:white">
and </span><font face="Courrier New"><span style="font-size:9pt;background-color:white">/var/log/nova/scheduler.log</span></font><font face="Courrier New"><span style="font-size:9pt;background-color:white"> </span></font><span style="background-color:white">without
</span><span style="background-color:white">any </span><span style="background-color:white">findings</span><span style="background-color:white">.</span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">My </span><span style="background-color:white">questions</span><span style="background-color:white">:</span></span></div>
<ol style="background-color:#fafafa;margin:0;padding-left:36pt">
<span style="background-color:#fafafa">
<li style="margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:white">Is there any </span><span style="background-color:white">restriction</span><span style="background-color:white"> on the </span><span style="background-color:white">“</span><span style="background-color:white">–</span><span style="background-color:white">parameters</span><span style="background-color:white">”</span><span style="background-color:white">
field of the above command that prevents from</span><span style="background-color:white"> </span><span style="background-color:white">running</span><span style="background-color:white"> </span><span style="background-color:white">this command for more than
one flavors </span><span style="background-color:white">in this command</span><span style="background-color:white">?</span></li><li style="margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:white">I have read in a forum that in order to implement this</span><span style="background-color:white">, we have to specify an availability zone other than the default one
(nova AZ)</span><span style="background-color:white"> including the instances we want to </span><span style="background-color:white">use</span><span style="background-color:white"> on the </span><span style="background-color:white">–</span><span style="background-color:white">parameters</span><span style="background-color:white">
field</span><span style="background-color:white">. Is this true? I cannot find any </span><span style="background-color:white">“</span><span style="background-color:white">logical explanation</span><span style="background-color:white">”</span><span style="background-color:white">
behind that thought</span><span style="background-color:white">…</span><span style="background-color:white">..</span><span style="background-color:white"> How </span><span style="background-color:white">the </span><span style="background-color:white">exist</span><span style="background-color:white">e</span><span style="background-color:white">nce</span><span style="background-color:white">
of an</span><span style="background-color:white"> AZ would affect the execution of this command?</span></li></span>
</ol>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">I </span><span style="background-color:white">would</span><span style="background-color:white"> appreciate
if you could provide me with any kind of tip or solution for this issue.</span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">Tha</span><span style="background-color:white">nk you in advance for your support.</span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">BR,</span></span></div>
<div style="background-color:#fafafa;margin-top:12.65pt;margin-bottom:4.6pt"><span style="background-color:#fafafa"><span style="background-color:white">Michelakis Spyros</span></span></div>
<div><font face="Calibri"><span style="font-size:11pt"> </span></font></div>
<div><font face="Calibri"><span style="font-size:11pt"> </span></font></div>
</span></font>
</div>

<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>