Revision history [back]

click to hide/show revision 1
initial version

nova network-create - ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500)

Hi,

I am trying to create-network using nova but I got the error below.

[root@controller nova]# nova network-create private --bridge br100 --multi-host T --fixed-range-v4 192.168.220.128/28 ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500)

At the API.log, I can see below ampq time out as well as looks to be a DB timeout. Any idea how to solve this?

==================================== 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack Traceback (most recent call last): 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/api/openstack/__init__.py", line 125, in __call__ 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return req.get_response(self.application) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/webob/request.py", line 1296, in send 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack application, catch_exc_info=False) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/webob/request.py", line 1260, in call_application 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack app_iter = application(self.environ, start_response) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__ 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return resp(environ, start_response) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py", line 679, in __call__ 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return self.app(env, start_response) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__ 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return resp(environ, start_response) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__ 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return resp(environ, start_response) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/routes/middleware.py", line 131, in __call__ 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack response = self.app(environ, start_response) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__ 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return resp(environ, start_response) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/webob/dec.py", line 130, in __call__ 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack resp = self.call_func(req, args, *self.kwargs) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/webob/dec.py", line 195, in call_func 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return self.func(req, args, *kwargs) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 919, in __call__ 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack content_type, body, accept) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 985, in _process_stack 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py", line 1072, in dispatch 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return method(req=request, *action_args) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/api/openstack/compute/contrib/os_networks.py", line 131, in create 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack network = self.network_api.create(context, *params)[0] 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/network/api.py", line 101, in wrapped 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return func(self, context, args, *kwargs) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/network/api.py", line 156, in create 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return self.network_rpcapi.create_networks(context, *kwargs) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/nova/network/rpcapi.py", line 98, in create_networks 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return self.client.call(ctxt, 'create_networks', *kwargs) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/client.py", line 361, in call 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return self.prepare().call(ctxt, method, **kwargs) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/client.py", line 150, in call 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack wait_for_reply=True, timeout=timeout) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/oslo/messaging/transport.py", line 90, in _send 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack timeout=timeout) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 412, in send 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack return self._send(target, ctxt, message, wait_for_reply, timeout) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 403, in _send 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack result = self._waiter.wait(msg_id, timeout) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 267, in wait 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack reply, ending = self._poll_connection(msg_id, timeout) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack File "/usr/lib/python2.6/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 217, in _poll_connection 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack % msg_id) 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack MessagingTimeout: Timed out waiting for a reply to message ID 9ad55393c779406fbe61cc7650b187f1 2015-06-04 13:08:28.490 45017 TRACE nova.api.openstack