When networks are created rapidly, neutron-servers compete
for segmentation ids which creates too much contention and
may lead to inability to choose available id in hardcoded amount
of attempts (11)
Randomize tunnel id selection so that condition is not hit.
(cherry picked from commit 1d9fd2aec00cb85034e5a23cc1beac33c74e0110)
Conflicts: neutron/plugins/ml2/drivers/helpers.py
Reviewed: https:/ /review. openstack. org/195792 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=07d3d4401f3 4a19b23738296c1 89122eeef9150f
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 07d3d4401f34a19 b23738296c18912 2eeef9150f
Author: Eugene Nikanorov <email address hidden>
Date: Mon May 11 01:34:35 2015 +0400
Randomize tunnel id query to avoid contention
When networks are created rapidly, neutron-servers compete
for segmentation ids which creates too much contention and
may lead to inability to choose available id in hardcoded amount
of attempts (11)
Randomize tunnel id selection so that condition is not hit.
(cherry picked from commit 1d9fd2aec00cb85 034e5a23cc1beac 33c74e0110)
neutron/ plugins/ ml2/drivers/ helpers. py
Conflicts:
Related-Bug: #1382064 6e693f8a62cb704 213b2da2920
Closes-Bug: #1454434
Change-Id: I7068f90fe4927e