Ask Your Question

Heat installed on a different server: Timeout while waiting on RPC response.

asked 2013-07-26 11:13:31 -0500

davide-m gravatar image

I have installed sucessufully all openstack services, including heat on the same server and I was able to create stacks and start vms. Then I tried to install heat on a dedicated server using the same packages and versions and it is able to communicate correctly with keystone and the amqp service. I am able to do "heat-cfn list" without any problem, but when I try to create a new stack (using the same template that was working on the other installation) he says me "Timeout: Timeout while waiting on RPC response." I'm using heat from rpm version 2013.1.2-3.el6. I tried to use both qpid and rabbitmq, but the problem is always the same.

This is the log from heat-cfn client:

DEBUG:Debug level logging enabled Traceback (most recent call last): File "/usr/bin/heat-cfn", line 682, in <module> main() File "/usr/bin/heat-cfn", line 669, in main result = cmd(opts, args) File "/usr/lib/python2.6/site-packages/heat/cfn_client/", line 32, in wrapper ret = func(arguments, kwargs) File "/usr/bin/heat-cfn", line 216, in stack_create result = c.create_stack(parameters) File "/usr/lib/python2.6/site-packages/heat/cfn_client/", line 66, in create_stack return self.stack_request("CreateStack", "POST", *kwargs) File "/usr/lib/python2.6/site-packages/heat/cfn_client/", line 55, in stack_request res = self.do_request(method, "/", params=params, headers=headers) File "/usr/lib/python2.6/site-packages/heat/common/", line 49, in wrapped return func(self, args, *kwargs) File "/usr/lib/python2.6/site-packages/heat/common/", line 372, in do_request headers=headers) File "/usr/lib/python2.6/site-packages/heat/common/", line 66, in wrapped return func(self, method, url, body, headers) File "/usr/lib/python2.6/site-packages/heat/common/", line 496, in _do_request raise Exception("Internal Server error: %s" % Exception: Internal Server error: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/eventlet/", line 382, in handle_one_response result = self.application(self.environ, start_response) File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/", line 147, in __call__ resp = self.call_func(req, args, *self.kwargs) File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/", line 208, in call_func return self.func(req, args, *kwargs) File "/usr/lib/python2.6/site-packages/heat/common/", line 305, in __call__ response = req.get_response(self.application) File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/", line 1053, in get_response application, catch_exc_info=False) File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/", line 1022, in call_application app_iter = application(self.environ, start_response) File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/", line 159, in __call__ return resp(environ, start_response) File "/usr/lib/python2.6/site-packages/heat/common/", line 176, in __call__ return, start_response) File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec ... (more)

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2013-07-26 21:40:51 -0500

This looks like there might be a configuration or connectivity issue preventing heat-engine from talking to nova-api.

edit flag offensive delete link more

answered 2013-07-29 09:45:28 -0500

davide-m gravatar image

Thanks Steve Baker, that solved my question.

edit flag offensive delete link more

answered 2013-07-29 09:46:41 -0500

davide-m gravatar image

You are right! heat-engine was unable to talk to compute api. Fixed opening the tcp port 8774 on the firewall.

Thanks a lot for your answer.


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-26 11:13:31 -0500

Seen: 145 times

Last updated: Jul 29 '13