← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1410854] [NEW] NoNetworkFoundInMaximumAllowedAttempts with multipe API workers

 

Public bug reported:

When neutron configured with, in regular devstack job it Fails to create
several networks in regular tempest run.

iniset /etc/neutron/neutron.conf DEFAULT api_workers 4

http://logs.openstack.org/82/140482/2/check/check-tempest-dsvm-neutron-
full/95aea86/logs/screen-q-svc.txt.gz?level=AUDIT#_2015-01-14_13_56_07_268

2015-01-14 13:56:07.267 2814 WARNING neutron.plugins.ml2.drivers.helpers [req-f6402b6d-de49-4675-a766-b45a6bc99061 None] Allocate vxlan segment from pool failed after 10 failed attempts
2015-01-14 13:56:07.268 2814 ERROR neutron.api.v2.resource [req-f6402b6d-de49-4675-a766-b45a6bc99061 None] create failed
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource Traceback (most recent call last):
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 451, in create
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     obj = obj_creator(request.context, **kwargs)
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/plugin.py", line 502, in create_network
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     tenant_id)
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/managers.py", line 161, in create_network_segments
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     segment = self.allocate_tenant_segment(session)
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/managers.py", line 190, in allocate_tenant_segment
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     segment = driver.obj.allocate_tenant_segment(session)
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/type_tunnel.py", line 150, in allocate_tenant_segment
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     alloc = self.allocate_partially_specified_segment(session)
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/helpers.py", line 144, in allocate_partially_specified_segment
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     raise exc.NoNetworkFoundInMaximumAllowedAttempts()
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource NoNetworkFoundInMaximumAllowedAttempts: Unable to create the network. No available network found in maximum allowed attempts.
2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  NoNetworkFoundInMaximumAllowedAttempts with multipe API workers

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When neutron configured with, in regular devstack job it Fails to
  create several networks in regular tempest run.

  iniset /etc/neutron/neutron.conf DEFAULT api_workers 4

  http://logs.openstack.org/82/140482/2/check/check-tempest-dsvm-
  neutron-
  full/95aea86/logs/screen-q-svc.txt.gz?level=AUDIT#_2015-01-14_13_56_07_268

  2015-01-14 13:56:07.267 2814 WARNING neutron.plugins.ml2.drivers.helpers [req-f6402b6d-de49-4675-a766-b45a6bc99061 None] Allocate vxlan segment from pool failed after 10 failed attempts
  2015-01-14 13:56:07.268 2814 ERROR neutron.api.v2.resource [req-f6402b6d-de49-4675-a766-b45a6bc99061 None] create failed
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 451, in create
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     obj = obj_creator(request.context, **kwargs)
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/plugin.py", line 502, in create_network
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     tenant_id)
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/managers.py", line 161, in create_network_segments
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     segment = self.allocate_tenant_segment(session)
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/managers.py", line 190, in allocate_tenant_segment
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     segment = driver.obj.allocate_tenant_segment(session)
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/type_tunnel.py", line 150, in allocate_tenant_segment
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     alloc = self.allocate_partially_specified_segment(session)
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/plugins/ml2/drivers/helpers.py", line 144, in allocate_partially_specified_segment
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource     raise exc.NoNetworkFoundInMaximumAllowedAttempts()
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource NoNetworkFoundInMaximumAllowedAttempts: Unable to create the network. No available network found in maximum allowed attempts.
  2015-01-14 13:56:07.268 2814 TRACE neutron.api.v2.resource

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


Follow ups

References