[rfe] change neutron process names to match their role

Bug #1816485 reported by Doug Wiegley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Brian Haley

Bug Description

See the commit message description here: https://review.openstack.org/#/c/637019/

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lib (master)

Reviewed: https://review.openstack.org/637119
Committed: https://git.openstack.org/cgit/openstack/neutron-lib/commit/?id=2c1e09bfd5a275c74213d200a7455bbf46893a1a
Submitter: Zuul
Branch: master

commit 2c1e09bfd5a275c74213d200a7455bbf46893a1a
Author: Doug Wiegley <email address hidden>
Date: Thu Feb 14 20:24:02 2019 -0700

    Add setproctitle support to the workers module

    - Set the process name of child neutron-servers to be something more
      readily identifiable than today.
    - Enable by default for all users of the workers module, neutron will
      have a conf setting for its workers.

    Matching neutron change:
    https://review.openstack.org/637019

    Partial-Bug: #1816485
    Depends-On: https://review.openstack.org/637024
    Change-Id: Ic6eca08f2ccacb3f8bf741c47a45e88cd3877b29

Changed in neutron:
importance: Undecided → Wishlist
Changed in neutron:
assignee: Doug Wiegley (dougwig) → Brian Haley (brian-haley)
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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lib (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/693396

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-lib (stable/rocky)

Change abandoned by Nate Johnston (<email address hidden>) on branch: stable/rocky
Review: https://review.opendev.org/693396
Reason: Sorry, I thought this was a neutron change not a neutron-lib change.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lib (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/693412

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/693413

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/693415

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/rocky)

Change abandoned by Nate Johnston (<email address hidden>) on branch: stable/rocky
Review: https://review.opendev.org/693413
Reason: impossible due to backport requirements change

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-lib (stable/rocky)

Change abandoned by Nate Johnston (<email address hidden>) on branch: stable/rocky
Review: https://review.opendev.org/693396
Reason: impossible due to backport requirements change

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-lib (stable/queens)

Change abandoned by Nate Johnston (<email address hidden>) on branch: stable/queens
Review: https://review.opendev.org/693412
Reason: Cancelling backport b/c this does not meet backport rules.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/queens)

Change abandoned by Nate Johnston (<email address hidden>) on branch: stable/queens
Review: https://review.opendev.org/693415
Reason: Cancelling backport b/c this does not meet backport rules.

Changed in neutron:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.