← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2052484] [NEW] [DEFAULT] rpc_worker=0 leaves one rpc worker

 

Public bug reported:

Since https://review.opendev.org/c/openstack/neutron/+/823637 was
merged, neutron-server allows disabling rpc worker by setting::

[DEFAULT]
rpc_worker=0


However, I observe one rpc worker is still kept even with this setting.

>From neutron-server log, rpc_workers and rpc_state_report_workers are
set to 0.

2024-02-05 13:05:33.159 70458 DEBUG neutron.common.config [-] rpc_state_report_workers       = 0 log_opt_values /usr/lib/python3.9/site-packages/oslo_config/cfg.py:2602
2024-02-05 13:05:33.159 70458 DEBUG neutron.common.config [-] rpc_workers                    = 0 log_opt_values /usr/lib/python3.9/site-packages/oslo_config/cfg.py:2602

ps shows there is one rpc worker running.

neutron    70458       1   70458  0.3  1.8 133664 144496 /usr/bin/python3 -s /usr/bin/neutron-server ... 
neutron    70499   70458   70499 11.4  3.1 246792 248240 neutron-server: api worker (...)
neutron    70500   70458   70500 11.0  3.1 243640 249488 neutron-server: api worker (...)
neutron    70502   70458   70502  0.3  1.7 141196 142132 neutron-server: rpc worker (...)
neutron    70503   70458   70503  0.3  1.8 145256 146356 neutron-server: MaintenanceWorker (...)
neutron    70504   70458   70504  0.0  1.7 135472 135604 neutron-server: periodic worker (...)

I've noticed this in Puppet OpenStack jobs which uses RDO master
packages.

The package versions currently used are::

openstack-neutron-24.0.0-0.20240131211457.b85b19e.el9.noarch
openstack-neutron-common-24.0.0-0.20240131211457.b85b19e.el9.noarch
openstack-neutron-ml2-24.0.0-0.20240131211457.b85b19e.el9.noarch
openstack-neutron-ovn-agent-24.0.0-0.20240131211457.b85b19e.el9.noarch
openstack-neutron-ovn-metadata-agent-24.0.0-0.20240131211457.b85b19e.el9.noarch
openstack-neutron-rpc-server-24.0.0-0.20240131211457.b85b19e.el9.noarch

** Affects: neutron
     Importance: Undecided
     Assignee: Takashi Kajinami (kajinamit)
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2052484

Title:
  [DEFAULT] rpc_worker=0 leaves one rpc worker

Status in neutron:
  New

Bug description:
  Since https://review.opendev.org/c/openstack/neutron/+/823637 was
  merged, neutron-server allows disabling rpc worker by setting::

  [DEFAULT]
  rpc_worker=0

  
  However, I observe one rpc worker is still kept even with this setting.

  From neutron-server log, rpc_workers and rpc_state_report_workers are
  set to 0.

  2024-02-05 13:05:33.159 70458 DEBUG neutron.common.config [-] rpc_state_report_workers       = 0 log_opt_values /usr/lib/python3.9/site-packages/oslo_config/cfg.py:2602
  2024-02-05 13:05:33.159 70458 DEBUG neutron.common.config [-] rpc_workers                    = 0 log_opt_values /usr/lib/python3.9/site-packages/oslo_config/cfg.py:2602

  ps shows there is one rpc worker running.

  neutron    70458       1   70458  0.3  1.8 133664 144496 /usr/bin/python3 -s /usr/bin/neutron-server ... 
  neutron    70499   70458   70499 11.4  3.1 246792 248240 neutron-server: api worker (...)
  neutron    70500   70458   70500 11.0  3.1 243640 249488 neutron-server: api worker (...)
  neutron    70502   70458   70502  0.3  1.7 141196 142132 neutron-server: rpc worker (...)
  neutron    70503   70458   70503  0.3  1.8 145256 146356 neutron-server: MaintenanceWorker (...)
  neutron    70504   70458   70504  0.0  1.7 135472 135604 neutron-server: periodic worker (...)

  I've noticed this in Puppet OpenStack jobs which uses RDO master
  packages.

  The package versions currently used are::

  openstack-neutron-24.0.0-0.20240131211457.b85b19e.el9.noarch
  openstack-neutron-common-24.0.0-0.20240131211457.b85b19e.el9.noarch
  openstack-neutron-ml2-24.0.0-0.20240131211457.b85b19e.el9.noarch
  openstack-neutron-ovn-agent-24.0.0-0.20240131211457.b85b19e.el9.noarch
  openstack-neutron-ovn-metadata-agent-24.0.0-0.20240131211457.b85b19e.el9.noarch
  openstack-neutron-rpc-server-24.0.0-0.20240131211457.b85b19e.el9.noarch

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2052484/+subscriptions



Follow ups