[openstack-dev] [Nova][Neutron] nova boot fails
Yoshihiro Kaneko
ykaneko0929 at gmail.com
Tue Dec 24 09:40:14 UTC 2013
Hello,
When I tried devstack with Neutron Ryu plugin, nova boot failed with
the following error:
ERROR: The server has either erred or is incapable of performing the
requested operation. (HTTP 500) (Request-ID:
req-2f3489c9-9fb5-4666-b5a3-dabf8068160b)
Change Iaaee059a (https://review.openstack.org/#/c/49455/) added the
validation of the port quota via Neutron API.
However, AFAIK, Neutron Quota API was implemented as an API extension,
so this API is not provided when we use Neutron plugin which does not
support Quota extension.
Is this Nova's bug? Or should Neutron provide Quota API always?
I attached detailed log.
Thanks,
Kaneko
The following error message appeared in screen-n-api.log:
2013-12-24 07:37:22.856 DEBUG neutronclient.client [-]
REQ: curl -i http://192.168.0.10:9696/v2.0/quotas/d2b5645336864565a3b5110e31cbe096.json
-X GET -H "X-Auth-Token: ..." -H "Content-Type: application/json" -H
"Accept: application/json" -H "User-Agent: python-neutronclient"
from (pid=23388) http_log_req
/opt/stack/python-neutronclient/neutronclient/common/utils.py:176
2013-12-24 07:37:22.860 DEBUG neutronclient.client [-] RESP:{'date':
'Tue, 24 Dec 2013 07:37:22 GMT', 'status': '404', 'content-length':
'52', 'content-type': 'text/plain; charset=UTF-8'} 404 Not Found
<snip>
2013-12-24 07:37:22.860 TRACE nova.api.openstack Traceback (most
recent call last):
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/__init__.py", line 121, in
__call__
2013-12-24 07:37:22.860 TRACE nova.api.openstack return
req.get_response(self.application)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296,
in send
2013-12-24 07:37:22.860 TRACE nova.api.openstack application,
catch_exc_info=False)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260,
in call_application
2013-12-24 07:37:22.860 TRACE nova.api.openstack app_iter =
application(self.environ, start_response)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in
__call__
2013-12-24 07:37:22.860 TRACE nova.api.openstack return
resp(environ, start_response)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py",
line 581, in __call__
2013-12-24 07:37:22.860 TRACE nova.api.openstack return
self.app(env, start_response)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in
__call__
2013-12-24 07:37:22.860 TRACE nova.api.openstack return
resp(environ, start_response)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in
__call__
2013-12-24 07:37:22.860 TRACE nova.api.openstack return
resp(environ, start_response)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/routes/middleware.py", line
131, in __call__
2013-12-24 07:37:22.860 TRACE nova.api.openstack response =
self.app(environ, start_response)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in
__call__
2013-12-24 07:37:22.860 TRACE nova.api.openstack return
resp(environ, start_response)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in
__call__
2013-12-24 07:37:22.860 TRACE nova.api.openstack resp =
self.call_func(req, *args, **self.kwargs)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in
call_func
2013-12-24 07:37:22.860 TRACE nova.api.openstack return
self.func(req, *args, **kwargs)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/wsgi.py", line 930, in __call__
2013-12-24 07:37:22.860 TRACE nova.api.openstack content_type, body, accept)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/wsgi.py", line 992, in
_process_stack
2013-12-24 07:37:22.860 TRACE nova.api.openstack action_result =
self.dispatch(meth, request, action_args)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/wsgi.py", line 1073, in dispatch
2013-12-24 07:37:22.860 TRACE nova.api.openstack return
method(req=request, **action_args)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/api/openstack/compute/servers.py", line 940, in
create
2013-12-24 07:37:22.860 TRACE nova.api.openstack legacy_bdm=legacy_bdm)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/hooks.py", line 105, in inner
2013-12-24 07:37:22.860 TRACE nova.api.openstack rv = f(*args, **kwargs)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/compute/api.py", line 1269, in create
2013-12-24 07:37:22.860 TRACE nova.api.openstack legacy_bdm=legacy_bdm)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/compute/api.py", line 903, in _create_instance
2013-12-24 07:37:22.860 TRACE nova.api.openstack max_count)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/compute/api.py", line 713, in
_validate_and_build_base_options
2013-12-24 07:37:22.860 TRACE nova.api.openstack
requested_networks, max_count)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/compute/api.py", line 462, in
_check_requested_networks
2013-12-24 07:37:22.860 TRACE nova.api.openstack max_count)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/nova/nova/network/neutronv2/api.py", line 582, in
validate_networks
2013-12-24 07:37:22.860 TRACE nova.api.openstack quotas =
neutron.show_quota(tenant_id=context.project_id)['quota']
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line
112, in with_params
2013-12-24 07:37:22.860 TRACE nova.api.openstack ret =
self.function(instance, *args, **kwargs)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line
280, in show_quota
2013-12-24 07:37:22.860 TRACE nova.api.openstack return
self.get(self.quota_path % (tenant_id), params=_params)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line
1237, in get
2013-12-24 07:37:22.860 TRACE nova.api.openstack headers=headers,
params=params)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line
1222, in retry_request
2013-12-24 07:37:22.860 TRACE nova.api.openstack headers=headers,
params=params)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line
1165, in do_request
2013-12-24 07:37:22.860 TRACE nova.api.openstack
self._handle_fault_response(status_code, replybody)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line
1135, in _handle_fault_response
2013-12-24 07:37:22.860 TRACE nova.api.openstack
exception_handler_v20(status_code, des_error_body)
2013-12-24 07:37:22.860 TRACE nova.api.openstack File
"/opt/stack/python-neutronclient/neutronclient/v2_0/client.py", line
92, in exception_handler_v20
2013-12-24 07:37:22.860 TRACE nova.api.openstack message=message)
2013-12-24 07:37:22.860 TRACE nova.api.openstack
NeutronClientException: 404 Not Found
2013-12-24 07:37:22.860 TRACE nova.api.openstack
2013-12-24 07:37:22.860 TRACE nova.api.openstack The resource could
not be found.
In addition, these messages appeared in screen-q-api.log:
2013-12-24 07:37:22.859 DEBUG routes.middleware [-] No route matched
for GET /quotas/d2b5645336864565a3b5110e31cbe096.json from (pid=23551)
__call__ /usr/local/lib/python2.7/dist-packages/routes/middleware.py:97
2013-12-24 07:37:22.859 DEBUG routes.middleware [-] No route matched
for GET /quotas/d2b5645336864565a3b5110e31cbe096.json from (pid=23551)
__call__ /usr/local/lib/python2.7/dist-packages/routes/middleware.py:97
2013-12-24 07:37:22.870 INFO neutron.wsgi
[req-46510beb-38ec-41b7-9c27-bf060df09e2f admin
d2b5645336864565a3b5110e31cbe096] 192.168.0.10 - - [24/Dec/2013
07:37:22] "GET /v2.0/quotas/d2b5645336864565a3b5110e31cbe096.json
HTTP/1.1" 404 176 0.012747
More information about the OpenStack-dev
mailing list