Revision history [back]

click to hide/show revision 1
initial version

Error while issuing "nova network-create" command on controller

I am following the openstack docs to create a simple cloud on ubuntu machines. While following "Enable Networking" section, I gave the command:

nova network-create vmnet --fixed-range-v4=10.0.2.0/24 --bridge-interface=br100 --multi-host=T

on the controller node and got the following message errror on the commandline itself:

ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-294175e5-51eb-460e-bd01-fea5e70d6233)

On checking the NOVA logs on the controller machine, I found the following errors in nova-api.log file:

2014-03-01 18:26:53.199 7385 INFO nova.osapi_compute.wsgi.server [-] (7385) accepted ('127.0.0.1', 44627)

2014-03-01 18:27:53.267 7385 ERROR nova.api.openstack [req-294175e5-51eb-460e-bd01-fea5e70d6233 06060c0a6949485c890554811a8029fc f66500725dd34ea09d1a0a645680dfb8] Caught error: Timeout while waiting on RPC response - topic: "network", RPC method: "create_networks" info: "<unknown>"
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack Traceback (most recent call last):
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 119, in __call__
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return req.get_response(self.application)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     application, catch_exc_info=False)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return resp(environ, start_response)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 539, in __call__
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return self.app(env, start_response)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return resp(environ, start_response)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return resp(environ, start_response)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     response = self.app(environ, start_response)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
 2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return resp(environ, start_response)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 938, in __call__
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     content_type, body, accept)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 997, in _process_stack
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1078, in dispatch
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return method(req=request, **action_args)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/os_networks.py", line 126, in create
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     network = self.network_api.create(context, **params)[0]
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 94, in wrapped
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return func(self, context, *args, **kwargs)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 143, in create
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return self.network_rpcapi.create_networks(context, **kwargs)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 102, in create_networks
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return self.client.call(ctxt, 'create_networks', **kwargs)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 85, in call
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return self._invoke(self.proxy.call, ctxt, method, **kwargs)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 63, in _invoke
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     return cast_or_call(ctxt, msg, **self.kwargs)
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 130, in call
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack     exc.info, real_topic, msg.get('method'))
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack Timeout: Timeout while waiting on RPC response - topic: "network", RPC method: "create_networks" info: "<unknown>"
2014-03-01 18:27:53.267 7385 TRACE nova.api.openstack 
2014-03-01 18:27:53.269 7385 INFO nova.api.openstack [req-294175e5-51eb-460e-bd01-fea5e70d6233 06060c0a6949485c890554811a8029fc f66500725dd34ea09d1a0a645680dfb8] http://controller:8774    /v2/f66500725dd34ea09d1a0a645680dfb8/os-networks returned with HTTP 500
2014-03-01 18:27:53.271 7385 INFO nova.osapi_compute.wsgi.server [req-294175e5-51eb-460e-bd01-fea5e70d6233 06060c0a6949485c890554811a8029fc f66500725dd34ea09d1a0a645680dfb8] 127.0.0.1 "POST /v2/f66500725dd34ea09d1a0a645680dfb8/os-networks HTTP/1.1" status: 500 len: 335 time: 60.0709529

I then re-checked all the settings and all are as per the documentation, but am not able to solve this problem. Can any one tell me where exactly is the issue?