← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1352141] [NEW] uncaught exception in floating ip creation when pool is not found with neutron backend

 

Public bug reported:

2014-07-31 07:14:07.574 ERROR nova.api.openstack [req-98b42d5d-575f-4209-b711-4cb2ae8ef14e FloatingIPsNegativeTestXML-1138647745 FloatingIPsNegativeTestXML-1764448859] Caught error: Floating ip pool not found.
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack Traceback (most recent call last):
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/api/openstack/__init__.py", line 125, in __call__
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return req.get_response(self.application)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     application, catch_exc_info=False)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return resp(environ, start_response)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 663, in __call__
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return self.app(env, start_response)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return resp(environ, start_response)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return resp(environ, start_response)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     response = self.app(environ, start_response)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return resp(environ, start_response)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 917, in __call__
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     content_type, body, accept)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 983, in _process_stack
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 1070, in dispatch
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return method(req=request, **action_args)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/api/openstack/compute/contrib/floating_ips.py", line 158, in create
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     address = self.network_api.allocate_floating_ip(context, pool)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/network/neutronv2/api.py", line 927, in allocate_floating_ip
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/network/neutronv2/api.py", line 927, in allocate_floating_ip
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     pool_id = self._get_floating_ip_pool_id_by_name_or_id(client, pool)
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/network/neutronv2/api.py", line 917, in _get_floating_ip_pool_id_by_name_or_id
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     raise exception.FloatingIpPoolNotFound()
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack FloatingIpPoolNotFound: Floating ip pool not found.
2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack 

http://logs.openstack.org/72/109872/1/check/check-tempest-dsvm-neutron-
full/7e11304/logs/screen-n-api.txt.gz?

** Affects: nova
     Importance: Low
     Assignee: Christopher Yeoh (cyeoh-0)
         Status: New


** Tags: api

-- 
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/1352141

Title:
  uncaught exception in floating ip creation when pool is not found with
  neutron backend

Status in OpenStack Compute (Nova):
  New

Bug description:
  2014-07-31 07:14:07.574 ERROR nova.api.openstack [req-98b42d5d-575f-4209-b711-4cb2ae8ef14e FloatingIPsNegativeTestXML-1138647745 FloatingIPsNegativeTestXML-1764448859] Caught error: Floating ip pool not found.
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack Traceback (most recent call last):
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/api/openstack/__init__.py", line 125, in __call__
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return req.get_response(self.application)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     application, catch_exc_info=False)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return resp(environ, start_response)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 663, in __call__
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return self.app(env, start_response)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return resp(environ, start_response)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return resp(environ, start_response)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     response = self.app(environ, start_response)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return resp(environ, start_response)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 917, in __call__
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     content_type, body, accept)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 983, in _process_stack
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 1070, in dispatch
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     return method(req=request, **action_args)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/api/openstack/compute/contrib/floating_ips.py", line 158, in create
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     address = self.network_api.allocate_floating_ip(context, pool)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/network/neutronv2/api.py", line 927, in allocate_floating_ip
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/network/neutronv2/api.py", line 927, in allocate_floating_ip
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     pool_id = self._get_floating_ip_pool_id_by_name_or_id(client, pool)
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack   File "/opt/stack/new/nova/nova/network/neutronv2/api.py", line 917, in _get_floating_ip_pool_id_by_name_or_id
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack     raise exception.FloatingIpPoolNotFound()
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack FloatingIpPoolNotFound: Floating ip pool not found.
  2014-07-31 07:14:07.574 28614 TRACE nova.api.openstack 

  http://logs.openstack.org/72/109872/1/check/check-tempest-dsvm-
  neutron-full/7e11304/logs/screen-n-api.txt.gz?

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1352141/+subscriptions


Follow ups

References