OpenStack Networking (Neutron)
Go to file
Slawek Kaplonski bdbeb67357 Make _ensure_default_security_group method atomic
Method _ensure_default_security_group wasn't atomic as it first tries to get
default SG and if that not exists in DB, it tries to create it.

It may happend, like e.g. in Calico plugin that between
get_default_sg_id method and create_security_group method, this default
SG will be created by other neutron worker. And in such case there will
be Duplicate entry exception raised.

So this patch is adding handling of such exception.

Change-Id: I515c310f221e7d9ae3be59a26260538d1bc591c2
Closes-Bug: #1883730
(cherry picked from commit 7019c5cf50)
2020-06-24 07:51:29 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
devstack Fix ussuri gates 2020-06-21 23:54:59 +02:00
doc Merge "Add known gaps between ML2/OVS and OVN" 2020-04-15 11:21:38 +00:00
etc Add rootwrap filter rule for radvd-kill script 2020-04-16 20:10:28 +00:00
neutron Make _ensure_default_security_group method atomic 2020-06-24 07:51:29 +00:00
playbooks Migrate neutron grenade jobs to be native Zuul v3 2020-06-21 23:55:09 +02:00
rally-jobs Rally task definition for port binding scenario 2019-07-08 13:25:46 +02:00
releasenotes Allow usage of legacy 3rd-party interface drivers 2020-05-20 22:03:38 +00:00
roles Fix ussuri gates 2020-06-21 23:54:59 +02:00
tools Fix ussuri gates 2020-06-21 23:54:59 +02:00
vagrant/ovn [OVN] Merge networking-ovn vagrant into neutron 2020-02-18 17:26:15 -05:00
zuul.d Migrate neutron grenade jobs to be native Zuul v3 2020-06-21 23:55:09 +02:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Add etc/neutron/*.sample files to be ignored by git 2019-12-12 12:38:24 +01:00
.gitreview Update .gitreview for stable/ussuri 2020-04-24 12:48:14 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Fix pylint R1717 (consider-using-dict-comprehension) refactor messages 2019-03-14 23:19:58 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
CONTRIBUTING.rst [Community goal] Add contributor and PTL guide 2020-03-03 04:43:26 +01:00
HACKING.rst Remove references to unittest2 library 2020-01-14 09:03:26 +00:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Start README.rst with a better title 2019-11-19 17:42:57 +01:00
TESTING.rst Update TOX_ENV_SRC_MODULES example 2019-12-18 11:37:38 -05:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Merge "Stop testing python 2" 2019-10-28 00:52:16 +00:00
lower-constraints.txt Bump neutron-lib to 2.2.0 2020-03-10 14:14:15 +00:00
plugin.spec Migrate the OVN migration scripts 2020-03-31 15:35:35 +01:00
requirements.txt Bump neutron-lib to 2.2.0 2020-03-10 14:14:15 +00:00
setup.cfg Migrate the OVN migration scripts 2020-03-31 15:35:35 +01:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Cap pycodestyle to be < 2.6.0 2020-05-12 15:08:40 -04:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/ussuri 2020-04-24 12:48:18 +00:00

README.rst

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute, please read the CONTRIBUTING.rst file.