allocate segment id fail with concurrency requests

Bug #1418283 reported by Xurong Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
In Progress
Undecided
Xurong Yang

Bug Description

I start mutil neutron-server and create vxlan network with concurrency requests, 1000 requests but 200 success return. fail log as follow:
2015-02-04 14:13:04.812 32268 ERROR neutron.api.v2.resource [req-a0a61bf5-568e-4ffc-a4dd-328dcc1cbb8a None] create failed
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource Traceback (most recent call last):
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 87, in resource
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource result = method(request=request, **args)
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 450, in create
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource obj = obj_creator(request.context, **kwargs)
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 498, in create_network
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource tenant_id)
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 157, in create_network_segments
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource session, segment)
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 184, in reserve_provider_segment
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource return driver.obj.reserve_provider_segment(session, segment)
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/type_tunnel.py", line 101, in reserve_provider_segment
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource alloc = self.allocate_partially_specified_segment(session)
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/helpers.py", line 143, in allocate_partially_specified_segment
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource raise exc.NoNetworkFoundInMaximumAllowedAttempts()
2015-02-04 14:13:04.812 32268 TRACE neutron.api.v2.resource NoNetworkFoundInMaximumAllowedAttempts: Unable to create the network. No available network found in maximum allowed attempts.

Xurong Yang (idopra)
Changed in neutron:
assignee: nobody → Xurong Yang (idopra)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/153118

Changed in neutron:
status: New → In Progress
Revision history for this message
Akihiro Motoki (amotoki) wrote :

It is a duplicate of bug 1382064.

Revision history for this message
Akihiro Motoki (amotoki) wrote :

what version of neutron are you using? Doesn't the patch for bug 1382064 fix the problem?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Armando Migliaccio (<email address hidden>) on branch: master
Review: https://review.openstack.org/153118
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.