[Openstack] [Heat][Nova]Error while creating a nova instance from heat stack

Pavlo Shchelokovskyy pshchelokovskyy at mirantis.com
Thu Oct 16 07:10:14 UTC 2014


Hi Sadia,

first, what is OpenStack/Heat version you are using? The current code for
Server._check_active() method in master is different;

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".

Cheers,
Pavlo Shchelokovskyy.

On Thu, Oct 16, 2014 at 9:04 AM, Sadia Bashir <11msccssbashir at seecs.edu.pk>
wrote:

> Hi Everyone,
>
> 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:
>
> Log from /var/log/heat/heat-engine.log
>
> 2014-10-16 10:21:22.804 30952 INFO urllib3.connectionpool [-] Starting new
> HTTP connection (1): 193.168.4.121
> 2014-10-16 10:21:36.981 30952 INFO heat.engine.service [-]
> validate_template
> 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$
> 2014-10-16 10:22:02.034 30952 INFO heat.engine.resource [-] Validating
> Server "http_client"
> 2014-10-16 10:22:06.570 30952 INFO urllib3.connectionpool [-] Starting new
> HTTP connection (1): 193.168.4.121
> 2014-10-16 10:22:06.706 30952 INFO urllib3.connectionpool [-] Starting new
> HTTP connection (1): 193.168.4.121
> 2014-10-16 10:22:06.845 30952 INFO urllib3.connectionpool [-] Starting new
> HTTP connection (1): 193.168.4.121
> 2014-10-16 10:22:07.391 30952 INFO heat.engine.resource [-] creating
> Server "http_client"
> 2014-10-16 10:22:09.464 30952 ERROR heat.engine.resource [-] CREATE :
> Server "http_client"
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource Traceback (most
> recent call last):
> 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$
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource     while not
> check(handle_data):
> 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$
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource     return
> self._check_active(server)
> 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$
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource     if
> server.status != 'ACTIVE':
> 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$
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource     if
> server.status != 'ACTIVE':
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource   File
> "/usr/lib/python2.7/bdb.py", line 48, in trace_dispatch
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource     return
> self.dispatch_line(frame)
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource   File
> "/usr/lib/python2.7/bdb.py", line 67, in dispatch_line
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource     if
> self.quitting: raise BdbQuit
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource BdbQuit
> 2014-10-16 10:22:09.464 30952 TRACE heat.engine.resource
> 2014-10-16 10:22:09.901 30952 WARNING heat.engine.service [-] Stack create
> failed, status FAILED
>
> Any suggestions to get rid of this error will be highly appreciated.
> Thanks!
>
> --
> Regards,
> *Sadia Bashir*
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141016/20ebebc7/attachment.html>


More information about the Openstack mailing list