← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1475938] Re: create_security_group code may get into endless loop

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => liberty-3

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

Title:
  create_security_group code may get into endless loop

Status in neutron:
  Fix Released

Bug description:
  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 or 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 in the first attempt.
  As a result, such logic will hang in the loop forever.

  Reproducible with rally create_and_delete_ports test.

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


References