OpenStack Networking (Neutron)
Go to file
Slawek Kaplonski 284afcf24f Lock privileged.agent.linux.ip_lib functions
It is workaround of bug in pyroute2 library which, when
running in multithread environment, sometimes have issues
with NetNS class.
When NetNS.__init__() is called, it uses os.pipe() function to
create 2 file descriptors which are used to communicated between
2 processes.
In some cases when multiple threads are running it might happen
that in two instances of NetNS() class there will be same file
descriptors used and that leads to problems when one thread
closes file descriptor and second still wants to use it.

With this patch functions which uses instance of pyroute2.NetNS class
are locked thus there shouldn't be risk of using same file descriptors
in 2 separate threads.

Co-Authored-By: Rodolfo Alonso Hernandez <ralonsoh@redhat.com>

Change-Id: Id5e6f2f8e9c31a7138da9cd6792e9d75845b81c5
Closes-Bug: #1811515
2019-01-16 22:45:40 +01:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00
devstack [L3][QoS] Agent side router gateway IP rate limit 2018-12-01 17:45:47 +08:00
doc Merge "Guideline on defining in-code policies" 2019-01-11 02:30:41 +00:00
etc Rename README.policy.json.txt 2019-01-07 12:45:15 -05:00
neutron Lock privileged.agent.linux.ip_lib functions 2019-01-16 22:45:40 +01:00
playbooks/legacy Merge "Migrate neutron-tempest-dvr job to zuulv3 and python 3" 2019-01-10 01:58:11 +00:00
rally-jobs rally-jobs: Set floating network as a parameter 2018-12-17 16:31:10 +02:00
releasenotes Prevent bind fip to port has port forwarding 2019-01-03 12:41:55 +08:00
tools Merge "Remove unnecessary 'set -x' at EOL in genconfig script" 2018-12-15 14:09:19 +00:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore doc: Add policy reference 2018-12-20 14:19:40 +09:00
.gitreview Fix .gitreview to not point at a branch 2015-08-17 13:51:51 -06:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Disable some pylint checks 2018-10-03 08:41:56 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
.zuul.yaml Merge "Rename ironic job" 2019-01-14 09:53:39 +00:00
CONTRIBUTING.rst Update link for contribution 2017-08-31 16:44:51 +02:00
HACKING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09: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 Update mailinglist from dev to discuss 2018-12-12 12:44:12 +08:00
TESTING.rst doc: Small clearances for fullstack testing 2018-09-05 09:40:07 +02:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Add libffi-dev to bindep.txt 2017-06-13 19:26:49 +00:00
lower-constraints.txt Replace ryu with os_ken 2018-12-13 10:00:17 +00:00
requirements.txt Cleanup pecan required version 2019-01-09 18:56:16 +00:00
setup.cfg Merge "Upgrade check command - add support for 3rd party checks" 2018-12-19 12:50:19 +00:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Upgrade pylint to a version that works with python3 2018-10-04 18:03:25 +00:00
tox.ini Merge "tox: Hide deprecation warnings from distgit" 2018-12-20 17:03:42 +00:00

README.rst

Team and repository tags

image

Welcome!

To learn more about neutron:

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

To learn how to contribute:

CONTRIBUTING.rst