neutron/neutron/tests/unit
Bernard Cafarelli 5ce0595803
Set process name for agents
Now that we use setproctitle for neutron-server workers (and
neutron-keepalived-state-change), this has the side effect of changing
the process name for agents, impacting some monitoring systems. More
details in launchpad bug.

This patch fixes it by setting the name with setproctitle to:
agent name (original process name).

Also use the newly introduced name constants to replace existing
hardcoded uses.

Change-Id: I74c3a4d3e9f833752571a75f196560cd45529385
Closes-Bug: #1881297
2020-07-01 12:28:29 +02:00
..
agent Set process name for agents 2020-07-01 12:28:29 +02:00
api Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00
cmd Merge "Limit ml2_vlan_allocations.vlan_id value in DB backend" 2020-06-09 23:37:42 +00:00
common [OVN] Fix db-sync-util Traceback when port security not enabled 2020-06-26 09:31:22 +02:00
conf/agent Agent common config 2017-03-15 09:52:18 -06:00
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Set process name for agents 2020-07-01 12:28:29 +02:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions Set process name for agents 2020-07-01 12:28:29 +02:00
hacking Catch additional invalid mock import statement 2020-05-19 17:25:33 -04:00
ipam Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
notifiers Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
objects Remove OVO unneeded compatibility conversions 2020-06-03 17:15:31 +00:00
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins Set process name for agents 2020-07-01 12:28:29 +02:00
privileged Use pyroute2 for SRIOV VF commands 2020-05-27 16:58:02 +00:00
quota Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
scheduler L3 agent scheduler should return a valid index if manual scheduling 2020-06-24 15:37:23 +00:00
services Merge "[OVN] OVN driver to adapt to enable_distributed_floating_ip changes" 2020-06-30 21:25:43 +00:00
tests Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py Remove the unit test 'test_ports_vnic_type_list' 2018-06-15 15:12:10 +00:00
dummy_plugin.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
fake_resources.py [OVN] Add support for router availability zones 2020-06-24 09:15:01 +01:00
test_auth.py Fix context deprecation warnings 2018-02-13 15:02:49 -05:00
test_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py Fix the sriov agent config group name 2016-05-05 16:16:08 +08:00
test_policy.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_service.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_worker.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_wsgi.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
testlib_api.py Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00