← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1531706] [NEW] API job fails with ExternalIpAddressExhausted

 

Public bug reported:


neutron.tests.api.admin.test_floating_ips_admin_actions.FloatingIPAdminTestJSON.test_create_floatingip_with_specified_ip_address[gate,id-332a8ae4-402e-4b98-bb6f-532e5a87b8e0,smoke]

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "neutron/tests/api/admin/test_floating_ips_admin_actions.py", line 146, in test_create_floatingip_with_specified_ip_address
        floating_ip_address=fip)
      File "neutron/tests/tempest/services/network/json/network_client.py", line 148, in _create
        resp, body = self.post(uri, post_data)
      File "/opt/stack/new/neutron/.tox/api-constraints/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 259, in post
        return self.request('POST', url, extra_headers, headers, body)
      File "/opt/stack/new/neutron/.tox/api-constraints/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 640, in request
        resp, resp_body)
      File "/opt/stack/new/neutron/.tox/api-constraints/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 698, in _error_checker
        raise exceptions.BadRequest(resp_body, resp=resp)
    tempest_lib.exceptions.BadRequest: Bad request
    Details: {u'message': u'Unable to find any IP address on external network 17aa99d7-f26a-4804-94ab-024f54fd2d9c.', u'detail': u'', u'type': u'ExternalIpAddressExhausted'}
    

Neutron server log:
-----------------------------

ERROR oslo_db.api [req-35ce4ea3-d12b-4277-b292-568304ff78f8 FloatingIPAdminTestJSON-1596642341 FloatingIPAdminTestJSON-1822796436] DB error.
25104 ERROR oslo_db.api Traceback (most recent call last):
25104 ERROR oslo_db.api   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 137, in wrapper
25104 ERROR oslo_db.api     return f(*args, **kwargs)
25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 516, in create
25104 ERROR oslo_db.api     obj = do_create(body)
25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 498, in do_create
25104 ERROR oslo_db.api     request.context, reservation.reservation_id)
25104 ERROR oslo_db.api   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in __exit__
25104 ERROR oslo_db.api     six.reraise(self.type_, self.value, self.tb)
25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 491, in do_create
25104 ERROR oslo_db.api     return obj_creator(request.context, **kwargs)
25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/services/l3_router/l3_router_plugin.py", line 104, in create_floatingip
25104 ERROR oslo_db.api     initial_status=n_const.FLOATINGIP_STATUS_DOWN)
25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/db/l3_dvr_db.py", line 763, in create_floatingip
25104 ERROR oslo_db.api     context, floatingip, initial_status)
25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/db/l3_db.py", line 1000, in _create_floatingip
25104 ERROR oslo_db.api     raise n_exc.ExternalIpAddressExhausted(net_id=f_net_id)
25104 ERROR oslo_db.api ExternalIpAddressExhausted: Unable to find any IP address on external network 17aa99d7-f26a-4804-94ab-024f54fd2d9c.

** Affects: neutron
     Importance: Critical
         Status: New


** Tags: gate-failure

** Tags added: gate-failure

** Changed in: neutron
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1531706

Title:
  API job fails with ExternalIpAddressExhausted

Status in neutron:
  New

Bug description:
  
  neutron.tests.api.admin.test_floating_ips_admin_actions.FloatingIPAdminTestJSON.test_create_floatingip_with_specified_ip_address[gate,id-332a8ae4-402e-4b98-bb6f-532e5a87b8e0,smoke]

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "neutron/tests/api/admin/test_floating_ips_admin_actions.py", line 146, in test_create_floatingip_with_specified_ip_address
          floating_ip_address=fip)
        File "neutron/tests/tempest/services/network/json/network_client.py", line 148, in _create
          resp, body = self.post(uri, post_data)
        File "/opt/stack/new/neutron/.tox/api-constraints/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 259, in post
          return self.request('POST', url, extra_headers, headers, body)
        File "/opt/stack/new/neutron/.tox/api-constraints/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 640, in request
          resp, resp_body)
        File "/opt/stack/new/neutron/.tox/api-constraints/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 698, in _error_checker
          raise exceptions.BadRequest(resp_body, resp=resp)
      tempest_lib.exceptions.BadRequest: Bad request
      Details: {u'message': u'Unable to find any IP address on external network 17aa99d7-f26a-4804-94ab-024f54fd2d9c.', u'detail': u'', u'type': u'ExternalIpAddressExhausted'}
      

  Neutron server log:
  -----------------------------

  ERROR oslo_db.api [req-35ce4ea3-d12b-4277-b292-568304ff78f8 FloatingIPAdminTestJSON-1596642341 FloatingIPAdminTestJSON-1822796436] DB error.
  25104 ERROR oslo_db.api Traceback (most recent call last):
  25104 ERROR oslo_db.api   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 137, in wrapper
  25104 ERROR oslo_db.api     return f(*args, **kwargs)
  25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 516, in create
  25104 ERROR oslo_db.api     obj = do_create(body)
  25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 498, in do_create
  25104 ERROR oslo_db.api     request.context, reservation.reservation_id)
  25104 ERROR oslo_db.api   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in __exit__
  25104 ERROR oslo_db.api     six.reraise(self.type_, self.value, self.tb)
  25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 491, in do_create
  25104 ERROR oslo_db.api     return obj_creator(request.context, **kwargs)
  25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/services/l3_router/l3_router_plugin.py", line 104, in create_floatingip
  25104 ERROR oslo_db.api     initial_status=n_const.FLOATINGIP_STATUS_DOWN)
  25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/db/l3_dvr_db.py", line 763, in create_floatingip
  25104 ERROR oslo_db.api     context, floatingip, initial_status)
  25104 ERROR oslo_db.api   File "/opt/stack/new/neutron/neutron/db/l3_db.py", line 1000, in _create_floatingip
  25104 ERROR oslo_db.api     raise n_exc.ExternalIpAddressExhausted(net_id=f_net_id)
  25104 ERROR oslo_db.api ExternalIpAddressExhausted: Unable to find any IP address on external network 17aa99d7-f26a-4804-94ab-024f54fd2d9c.

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


Follow ups