← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** Also affects: neutron/kilo
   Importance: Undecided
       Status: New

** Changed in: neutron/kilo
    Milestone: None => 2015.1.2

** Changed in: neutron/kilo
       Status: New => Fix Committed

-- 
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
Status in neutron kilo series:
  Fix Committed

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