neutron/neutron
Bernard Cafarelli 13aa00026f
Re-use existing ProcessLauncher from wsgi in RPC workers
If both are run under the same process, and api_workers >= 2, the server
process will instantiate two oslo_service.ProcessLauncher instances

This should be avoided [0], and indeed causes issues on subprocess and
signal handling: killed RPC workers not respawning, SIGHUP on master
process leading to unresponsive server, signal not properly sent to all
child processes, ...

To avoid this, use the wsgi ProcessLauncher instance if it exists

[0] https://docs.openstack.org/oslo.service/latest/user/usage.html#launchers

Change-Id: Ic821f8ca84add9c8137ef712031afb43e491591c
Closes-Bug: #1780139
2020-02-07 14:51:06 +01:00
..
agent Merge "Enable bulk updates for the dnsmasq" 2020-02-03 04:03:30 +00:00
api Adding LOG statements to debug 1838449 2019-10-08 12:12:43 -05:00
cmd Merge "[OVN] Migrate the OVN tools" 2020-02-03 18:27:24 +00:00
common Enable ovsdb debug messages in functional and fullstack 2020-01-29 17:11:44 +00:00
conf Merge "Enable bulk updates for the dnsmasq" 2020-02-03 04:03:30 +00:00
core_extensions Add "qos_network_policy_id" to port definition 2020-01-17 17:57:11 +00:00
db Merge "Check "security_group_rule" quota during security group creation" 2020-01-31 17:40:46 +00:00
debug Do not inherit from built-in "dict" 2019-11-29 18:12:07 +00:00
extensions Merge "Implement tagging during bulk port creation" 2020-01-30 15:26:44 +00:00
hacking Remove references to unittest2 library 2020-01-14 09:03:26 +00:00
ipam IPv6 accepts first address only for routers 2020-01-12 20:39:07 +00:00
locale Imported Translations from Zanata 2019-12-21 07:16:10 +00:00
notifiers Use openstacksdk for ironic notifiers 2019-09-19 06:56:24 +00:00
objects Add description field to portforwarding NAT rules 2020-01-22 11:19:55 -03:00
pecan_wsgi Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-08 15:34:17 +04:00
plugins Merge "Remove sleep command when retrieving OVS dp" 2020-02-01 02:19:29 +00:00
privileged Remove locks from privileged ip_lib module 2019-12-13 15:44:26 +00:00
profiling Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00
quota Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-08 15:34:17 +04:00
scheduler [OVN] Import OVN Client, L3 and QoS related code 2019-12-14 19:17:40 +00:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
services Merge "Implement tagging during bulk port creation" 2020-01-30 15:26:44 +00:00
tests Merge "Check "security_group_rule" quota during security group creation" 2020-01-31 17:40:46 +00:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_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 Support L3 agent cleanup on shutdown 2019-12-16 17:01:31 -05: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 Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
policy.py List SG rules which belongs to tenant's SG 2019-11-27 15:45:09 +01:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00