neutron/neutron
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
..
agent Windows: fix exec calls 2018-06-19 07:12:27 +00:00
api Fix lack of routes for neighbour IPv4 subnets 2018-06-01 19:56:52 +00:00
cmd Override ovsdb_timeout default value in ovs_cleanup tool 2018-04-18 08:38:18 +00:00
common Windows: fix exec calls 2018-06-19 07:12:27 +00:00
conf Fixes using SSL OVSDB connection 2018-02-09 04:50:10 +00:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Only allow SG port ranges for whitelisted protocols 2018-05-08 17:23:05 +02:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions Only allow SG port ranges for whitelisted protocols 2018-05-08 17:23:05 +02:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Always pass device_owner to _ipam_get_subnets() 2018-02-17 18:31:50 +00:00
locale Imported Translations from Zanata 2018-03-14 06:20:49 +00:00
notifiers use callback payloads for REQUEST/RESPONSE events 2017-12-24 07:27:11 +00:00
objects Ensure _get_changed_synthetic_fields() return updatable fields 2018-06-08 08:32:27 +00:00
pecan_wsgi Fixes minor typo in neutron 2018-01-18 14:27:59 +08:00
plugins Don't skip DVR port while neutron-openvswitch-agent is restared. 2018-06-06 10:24:55 +00:00
privileged DVR: Fix allowed_address_pair IP, ARP table update by neutron agent 2018-03-21 21:43:17 +00:00
quota CountableResource: try count/get functions for all plugins 2017-09-08 10:50:12 -07:00
scheduler Merge "use l3 api def from neutron-lib" 2017-12-16 13:01:14 +00:00
server Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
services Merge "Fix error message when duplicate QoS rule is created" into stable/queens 2018-03-07 19:22:59 +00:00
tests Merge "[Fullstack] Add block test until IPs will be really configured" into stable/queens 2018-06-18 23:44:58 +00:00
__init__.py
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Remove deprecated cache_url" 2018-01-03 06:35:59 +00:00
policy.py Merge "Log policy filters in one line" 2017-08-23 11:09:37 +00:00
service.py use callback payloads for _SPAWN events 2017-12-21 11:03:36 -07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00