Comment 2 for bug 1816485

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/637019
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=61b231a9995a0fe3230302ce913ffde707393d81
Submitter: Zuul
Branch: master

commit 61b231a9995a0fe3230302ce913ffde707393d81
Author: Doug Wiegley <email address hidden>
Date: Thu Feb 14 11:12:57 2019 -0700

    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