请哪位大哥指教一下,万分感谢!!!
[root@controller openstack]# nova network-create demo-net --bridge br100 --multi-host T --fixed-range-v4 10.0.0.55/24
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-59ca456f-6791-40b1-9292-2c6ba82fb447)
错误日志
[root@controller openstack]# cat /var/log/nova/nova-api.log |grep 22:16
2015-10-26 22:16:07.560 10522 DEBUG keystoneclient.auth.identity.v3.base [-] Making authentication request to http://controller:35357/v3/auth/tokens get_auth_ref /usr/lib/python2.7/site-packages/keystoneclient/auth/identity/v3/base.py:171
2015-10-26 22:16:07.670 10522 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://controller:35357/v2.0/tokens/5920a8cdb2994a1a8209eea4e5a4f33e -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}b28f4620682307ac783b4466ffa9b1b425c45955" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session.py:195
2015-10-26 22:16:07.701 10522 DEBUG keystoneclient.session [-] RESP: [200] content-length: 1769 vary: X-Auth-Token keep-alive: timeout=5, max=99 server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Mon, 26 Oct 2015 14:16:07 GMT content-type: application/json x-openstack-request-id: req-bdcd546c-8a39-4e68-8df3-556abf042579
2015-10-26 22:16:07.705 10522 DEBUG nova.api.openstack.wsgi [req-59ca456f-6791-40b1-9292-2c6ba82fb447 9ab1d21010e349989f989d242baf514a 917bba0b8c9e4377933f414e8caeb12b - - -] Action: 'create', calling method: <bound method NetworkController.create of <nova.api.openstack.compute.contrib.os_networks.NetworkController object at 0x5320c90>>, body: {"network": {"bridge": "br100", "cidr": "10.0.0.55/24", "multi_host": true, "label": "demo-net"}} _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:780
2015-10-26 22:16:07.706 10522 ERROR nova.api.openstack [req-59ca456f-6791-40b1-9292-2c6ba82fb447 9ab1d21010e349989f989d242baf514a 917bba0b8c9e4377933f414e8caeb12b - - -] Caught error:
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack Traceback (most recent call last):
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 125, in __call__
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack return req.get_response(self.application)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1296, in send
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack application, catch_exc_info=False)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/request.py", line 1260, in call_application
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack return resp(environ, start_response)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 634, in __call__
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack return self._call_app(env, start_response)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py", line 554, in _call_app
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack return self._app(env, _fake_start_response)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack return resp(environ, start_response)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack return resp(environ, start_response)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/routes/middleware.py", line 131, in __call__
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack response = self.app(environ, start_response)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 144, in __call__
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack return resp(environ, start_response)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 130, in __call__
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/webob/dec.py", line 195, in call_func
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 756, in __call__
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack content_type, body, accept)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 821, in _process_stack
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 911, in dispatch
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack return method(req=request, **action_args)
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/contrib/os_networks.py", line 172, in create
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack network = self.network_api.create(context, **params)[0]
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack File "/usr/lib/python2.7/site-packages/nova/network/base_api.py", line 103, in create
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack raise NotImplementedError()
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack NotImplementedError
2015-10-26 22:16:07.706 10522 TRACE nova.api.openstack
2015-10-26 22:16:07.707 10522 INFO nova.api.openstack [req-59ca456f-6791-40b1-9292-2c6ba82fb447 9ab1d21010e349989f989d242baf514a 917bba0b8c9e4377933f414e8caeb12b - - -] http://controller:8774/v2/917bba0b8c9e4377933f414e8caeb12b/os-networks returned with HTTP 500
2015-10-26 22:16:07.707 10522 DEBUG nova.api.openstack.wsgi [req-59ca456f-6791-40b1-9292-2c6ba82fb447 9ab1d21010e349989f989d242baf514a 917bba0b8c9e4377933f414e8caeb12b - - -] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. __call__ /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:1166
2015-10-26 22:16:07.708 10522 INFO nova.osapi_compute.wsgi.server [req-59ca456f-6791-40b1-9292-2c6ba82fb447 9ab1d21010e349989f989d242baf514a 917bba0b8c9e4377933f414e8caeb12b - - -] 10.0.0.10 "POST /v2/917bba0b8c9e4377933f414e8caeb12b/os-networks HTTP/1.1" status: 500 len: 359 time: 0.1485720
|