neutron/neutron
Doug Wiegley 61b231a999 Change process name of neutron-server to match worker role
We spawn a lot of neutron-servers, on all but the smallest systems.
It's often hard to tell which are busy/overloaded or spinning.
Add an option to set the process names to their role.

This has a small chance of breaking existing scripting, depending
how they're parsing ps output.

Sample output:
$ ps xw | grep neutron-server
 1126 pts/2    S+     0:00 grep --color=auto neutron-server
25355 ?        Ss     0:26 /usr/bin/python /usr/local/bin/neutron-server \
  --config-file /etc/neutron/neutron.conf \
  --config-file /etc/neutron/plugins/ml2/ml2_conf.ini
25368 ?        S      0:00 neutron-server: api worker
25369 ?        S      0:00 neutron-server: api worker
25370 ?        S      0:00 neutron-server: api worker
25371 ?        S      0:00 neutron-server: api worker
25372 ?        S      0:02 neutron-server: rpc worker
25373 ?        S      0:02 neutron-server: rpc worker
25374 ?        S      0:02 neutron-server: services worker

The "normal" looking ps output is the main parent.

Partial-Bug: #1816485
Depends-On: https://review.openstack.org/637119
Change-Id: I0e664a5f8e792d85b8f5483fb8c6f1cd59a677cd
2019-03-01 14:18:09 -05:00
..
agent Merge "Bump pylint version to one that supports python3.7" 2019-02-22 03:53:13 +00:00
api Not set the HA port down at regular l3-agent restart 2019-02-14 16:58:22 +08:00
cmd Merge "Fix pylint R1714 (consider-using-in) refactor messages" 2019-02-23 04:58:03 +00:00
common Consume constant from neutron-lib: DHCPV6_CLIENT_PORT 2019-02-18 10:35:51 +01:00
conf Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
core_extensions remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
db Merge "New agent attribute: resources_synced" 2019-02-26 16:55:01 +00:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions Merge "New agent attribute: resources_synced" 2019-02-26 16:55:01 +00:00
hacking use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
ipam Merge "Update the processing of assigned addresses when assigning addresses" 2019-02-07 20:30:20 +00:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Send global_request_id for tracing calls from neutron to nova 2018-11-30 05:41:24 +00:00
objects Merge "New agent attribute: resources_synced" 2019-02-26 16:55:01 +00:00
pecan_wsgi remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
plugins Merge "New agent attribute: resources_synced" 2019-02-26 16:55:01 +00:00
privileged Merge "Implement add_tc_qdisc and list_tc_qdiscs using pyroute2" 2019-02-16 05:52:19 +00:00
quota remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
scheduler Fetch specific columns rather than full ORM entities 2018-08-22 10:14:09 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Use constant from neutron-lib 2019-02-25 15:47:10 +01:00
tests Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05: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 Avoid loading same service plugin more than once 2019-02-21 11:17:02 +01: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 supported_vnic_type configurable for sriov 2018-11-05 11:40:13 +01:00
policy.py Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
service.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05: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 Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00