← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1475938] [NEW] create_security_group code may get into endless loop

 

You have been subscribed to a public bug:

That damn piece of code again.

In some cases when network is created for tenant and default security group is created in the process, there may be concurrent network of sg creation happening.
That leads to a condition when the code fetches default sg, it's not there, tries to add it - it's already there, then it tries to fetch it again, but due to REPEATABLE READ isolation method, the query returns empty result.
As a result, such logic will hang in the loop forever.

** Affects: neutron
     Importance: Undecided
     Assignee: Eugene Nikanorov (enikanorov)
         Status: New


** Tags: sg-fw
-- 
create_security_group code may get into endless loop
https://bugs.launchpad.net/bugs/1475938
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.


References