yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39327
[Bug 1500658] [NEW] Unhandled 404 when neutron doesn't support floating IPs
Public bug reported:
Getting the following error in nova-api logs when neutron doesn't
support floating IPs
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 125, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return req.get_response(self.application)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack application, catch_exc_info=False)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return resp(environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 634, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return self._call_app(env, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 554, in _call_app
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return self._app(env, _fake_start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return resp(environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return resp(environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack response = self.app(environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return resp(environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 756, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack content_type, body, accept)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 821, in _process_stack
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 911, in dispatch
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return method(req=request, **action_args)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/floating_ips.py", line 108, in index
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack floating_ips = self.network_api.get_floating_ips_by_project(context)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1262, in get_floating_ips_by_project
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack fips = client.list_floatingips(tenant_id=project_id)['floatingips']
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 102, in with_params
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack ret = self.function(instance, *args, **kwargs)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 691, in list_floatingips
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack **_params)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 307, in list
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack for r in self._pagination(collection, path, **params):
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 320, in _pagination
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack res = self.get(path, params=params)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 293, in get
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack headers=headers, params=params)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 270, in retry_request
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack headers=headers, params=params)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 211, in do_request
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack self._handle_fault_response(status_code, replybody)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack exception_handler_v20(status_code, des_error_body)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack message=message)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack NeutronClientException: 404 Not Found
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1500658
Title:
Unhandled 404 when neutron doesn't support floating IPs
Status in OpenStack Compute (nova):
New
Bug description:
Getting the following error in nova-api logs when neutron doesn't
support floating IPs
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 125, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return req.get_response(self.application)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack application, catch_exc_info=False)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return resp(environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 634, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return self._call_app(env, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 554, in _call_app
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return self._app(env, _fake_start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return resp(environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return resp(environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack response = self.app(environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return resp(environ, start_response)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 756, in __call__
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack content_type, body, accept)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 821, in _process_stack
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 911, in dispatch
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack return method(req=request, **action_args)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/floating_ips.py", line 108, in index
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack floating_ips = self.network_api.get_floating_ips_by_project(context)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 1262, in get_floating_ips_by_project
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack fips = client.list_floatingips(tenant_id=project_id)['floatingips']
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 102, in with_params
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack ret = self.function(instance, *args, **kwargs)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 691, in list_floatingips
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack **_params)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 307, in list
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack for r in self._pagination(collection, path, **params):
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 320, in _pagination
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack res = self.get(path, params=params)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 293, in get
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack headers=headers, params=params)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 270, in retry_request
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack headers=headers, params=params)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 211, in do_request
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack self._handle_fault_response(status_code, replybody)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack exception_handler_v20(status_code, des_error_body)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack message=message)
2015-09-29 10:04:50.551 6376 TRACE nova.api.openstack NeutronClientException: 404 Not Found
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1500658/+subscriptions
Follow ups