<div dir="ltr"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Hi Sadia,</span><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">first, what is OpenStack/Heat version you are using? The current code for Server._check_active() method in master is different;</div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">second - by the trace it looks like there is a spurious debugger (bdb?) breakpoint left somewhere in the code, either in Heat or python-novaclient. Might be that you or someone else has forgotten to remove a breakpoint after a debugging session. If you have access to the node running Heat try grepping heat or python-novaclient source for a line containing "import bdb".</div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Cheers,</div><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px">Pavlo Shchelokovskyy.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 16, 2014 at 9:04 AM, Sadia Bashir <span dir="ltr"><<a href="mailto:11msccssbashir@seecs.edu.pk" target="_blank">11msccssbashir@seecs.edu.pk</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"><div><div><div>Hi Everyone,<br><br></div>I am trying to launch a new instance from a very simple heat template (please see attached) but it yields me following error while creating a new stack:<br><br></div>Log from /var/log/heat/heat-engine.log<br><br>2014-10-16 10:21:22.804 30952 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 193.168.4.121<br>2014-10-16 10:21:36.981 30952 INFO heat.engine.service [-] validate_template<br>2014-10-16 10:22:02.018 30952 INFO heat.engine.service [-] template is {u'outputs': {u'server0_ip': {u'description': u'IP of the server', u'val$<br>2014-10-16 10:22:02.034 30952 INFO heat.engine.resource [-] Validating Server "http_client"<br>2014-10-16 10:22:06.570 30952 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 193.168.4.121<br>2014-10-16 10:22:06.706 30952 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 193.168.4.121<br>2014-10-16 10:22:06.845 30952 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 193.168.4.121<br>2014-10-16 10:22:07.391 30952 INFO heat.engine.resource [-] creating Server "http_client"<br>2014-10-16 10:22:09.464 30952 ERROR heat.engine.resource [-] CREATE : Server "http_client"<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource Traceback (most recent call last):<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 371, in _do_ac$<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource while not check(handle_data):<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resources/server.py", line 239, i$<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource return self._check_active(server)<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resources/server.py", line 243, i$<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource if server.status != 'ACTIVE':<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource File "/usr/lib/python2.7/dist-packages/heat/engine/resources/server.py", line 243, i$<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource if server.status != 'ACTIVE':<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource File "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource return self.dispatch_line(frame)<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource File "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource if self.quitting: raise BdbQuit<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource BdbQuit<br>2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource<br>2014-10-16 10:22:09.901 30952 WARNING heat.engine.service [-] Stack create failed, status FAILED<br><br></div><div>Any suggestions to get rid of this error will be highly appreciated. Thanks!<br></div><div><br>--<br></div><div>Regards,<br></div><div><i>Sadia Bashir</i><br></div><div><div><div><div><div><font color="#3366ff"><br></font></div><div><font color="#3366ff"></font> </div>
</div></div></div></div></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></div>