Public bug reported:

 - create_security_group() is wrapped with a db retry decorator
 - it calls _ensure_default_security_group() to create a default security group 
for a tenant if one does not exist 
 - _ensure_default_security_group() in turn calls back to 
create_security_group() to create a default security group
 - due to concurrency the creation of default security group my fail with 
DBDuplicateEntry
 - this is retried for max attempts and the request eventually fails

Traceback: http://paste.openstack.org/show/581903/
Example of failed job in rally: 
http://logs.openstack.org/04/371604/1/check/gate-rally-dsvm-neutron-rally/b1c384d/

** Affects: neutron
     Importance: High
     Assignee: Oleg Bondarev (obondarev)
         Status: In Progress


** Tags: sg-fw

** Changed in: neutron
       Status: New => In Progress

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

Title:
  Concurrent security groups creation fails with DBDuplicateEntry

Status in neutron:
  In Progress

Bug description:
   - create_security_group() is wrapped with a db retry decorator
   - it calls _ensure_default_security_group() to create a default security 
group for a tenant if one does not exist 
   - _ensure_default_security_group() in turn calls back to 
create_security_group() to create a default security group
   - due to concurrency the creation of default security group my fail with 
DBDuplicateEntry
   - this is retried for max attempts and the request eventually fails

  Traceback: http://paste.openstack.org/show/581903/
  Example of failed job in rally: 
http://logs.openstack.org/04/371604/1/check/gate-rally-dsvm-neutron-rally/b1c384d/

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to