yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #56830
[Bug 1625557] Re: Concurrent security groups creation fails with DBDuplicateEntry
Patch is being reverted.
** Changed in: neutron
Status: Fix Released => Confirmed
--
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:
Confirmed
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
References