Ask Your Question
0

Got 'RPC Timeout' after I deployed Nova Cell

asked 2015-05-19 03:52:29 -0500

BrightLiao gravatar image

updated 2015-05-19 06:01:26 -0500

SGPJ gravatar image

I want to deploy Nova Cell on our private cloud based on OpenStack Hanava. So I configure the controller-node as API cell and 10 compute-node as child cell. The controller-node runs rabbitmq, mysql and nova-api, while one compute-node runs nova-scheduler, nova-cert, nova-conductor, nova-consoleauth and nova-novncproxy.

Here are the commands to create&show the cells :

nova-manage cell create --name=api --cell_type=parent --username=guest --password=rabbitpasswd --hostname=controller --port=5672 --virtual_host=api_vhost --woffset=1.0 --wscale=1.0

nova-manage cell create --name=cell --cell_type=child --username=guest --password=rabbitpasswd --hostname=controller --port=5672 --virtual_host=api_vhost --woffset=1.0 --wscale=1.0

image description

However, I got an error when I run > nova service-list :

ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-14977c0b-034d-4b49-bb51-67eae01b5355)

Then I check the nova-api.log and find an ERROR, I paste it at the end. In nova-cells.log , it says AMQP server on 192.168.5.11:5672 is unreachable: Socket closed. Here is my rabbit config in nova.conf.

rpc_backend = nova.rpc.impl_kombu

rabbit_host=192.168.5.11

rabbit_password=rabbitpaswd

#rabbit_virtual_host = api_vhost

I just can't handle this problem, hope someone clould help me. Thanks a lot.

ERROR nova.api.openstack [req-3d87a339-9df0-4afe-9cb0-2caefe478c3c dbdded7ad8764dbc90325b0551e6fdd2 c9ed82271cf4464cb5eb716dca756c07] Caught error: Timeout while waiting on RPC response - topic: "cells", RPC method: "service_get_all" info: "<unknown>"

TRACE nova.api.openstack Traceback (most recent call last):

TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 119, in __call__

TRACE nova.api.openstack return req.get_response(self.application)

TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send

TRACE nova.api.openstack
application, catch_exc_info=False)

TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application

TRACE nova.api.openstack app_iter = application(self.environ, start_response)

TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__

TRACE nova.api.openstack return resp(environ, start_response)

TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/keystoneclient/middleware auth_token.py", line 687, in __call__

TRACE nova.api.openstack return self.app(env, start_response)

TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__

TRACE nova.api.openstack return resp(environ, start_response)

TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__ nova.api.openstack return resp(environ, start_response)

TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__

TRACE nova.api.openstack response = self.app(environ, start_response)

TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__

TRACE nova.api.openstack return resp(environ, start_response)

TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__

TRACE nova.api.openstack resp = self.call_func(req, args, *self.kwargs)

TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec ...

(more)
edit retag flag offensive close merge delete

Comments

try changing the "rpc_backend=nova.rpc.impl_kombu" to "rpc_backend=nova.openstack.common.rpc.impl_kombu" in nova.conf, then restart the services then try again running, nova service-list

sunnyarora gravatar imagesunnyarora ( 2015-05-19 07:16:58 -0500 )edit

Still error. I find " Error waiting for responses from neighbor cells: Timeout waiting for response from cell " in nova-cells.log. Should nova-cells run on each compute-node? Or just one nova-cells for one cell ?

BrightLiao gravatar imageBrightLiao ( 2015-05-20 02:57:04 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-20 05:03:22 -0500

Tobias Urdin gravatar image

Read this for a more brief understanding on how Cells work.

https://access.redhat.com/documentati...

Please note that the configuration might be different since you are on a older version of OpenStack. I would recommend you to upgrade OpenStack before your version is EOL.

Best regards

edit flag offensive delete link more

Comments

Thanks, I configured nova-cells according to "config-guide-havana". Besides, we made some development on Havana, so upgrading isn't a good choice for us.

BrightLiao gravatar imageBrightLiao ( 2015-05-21 06:50:12 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-19 03:52:29 -0500

Seen: 248 times

Last updated: May 20 '15