neutron/neutron/common
Lucian Petrut 1f76c9562b Windows: fix exec calls
At some point, we've switched to an alternative process launcher
that uses named pipes to communicate with the child processes. This
implementation has some issues, truncating the process output in some
situations.

This change switches back to subprocess.Popen, which is a much easier
and convenient way to perform exec calls. We're also ensuring that the
os module is not patched (which would cause subprocess.Popen to fail
on Windows due to an eventlet limitation, the reason why the above
mentioned implementation was first introduced).

We're also ensuring that such calls do not block other greenthreads
by leveraging eventlet.tpool.

Side note: I had to store subprocess.Popen in a variable in order
to avoid having OpenStack bandit complaining, even though we're
explicitly passing "shell=False":
http://paste.openstack.org/raw/658319/

Closes-Bug: #1709931

Change-Id: Ib58e12030e69ea10862452c2f141a7a5f2527621
(cherry picked from commit 82d468ba7f)
2018-06-19 07:12:27 +00:00
..
__init__.py Update License Headers to replace Nicira with VMware 2014-02-27 08:11:15 +00:00
_deprecate.py debtcollector for globals 2016-08-30 10:18:19 -04:00
cache_utils.py Remove deprecated cache_url 2017-11-10 00:47:19 -05:00
config.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
constants.py Fix ingress bw limit for OVS DPDK ports 2018-01-15 13:19:14 +00:00
eventlet_utils.py Windows: fix exec calls 2018-06-19 07:12:27 +00:00
exceptions.py Fix error message when duplicate QoS rule is created 2018-02-14 15:01:20 +00:00
ipv6_utils.py Remove neutron.common.ipv6_utils.is_enabled() 2017-11-08 14:03:12 -05:00
profiler.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
rpc.py Merge "Hook bandit security linter to pep8 target" 2017-08-24 06:10:40 +00:00
test_lib.py Revert "Removed test_lib module" 2015-06-29 08:27:41 +00:00
topics.py RPC Callback rolling upgrades reporting, and integration 2016-03-01 11:20:48 +01:00
utils.py Fix ingress bw limit for OVS DPDK ports 2018-01-15 13:19:14 +00:00