Neutron worker count is not configurable

Bug #1364029 reported by Adam Collard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron-api (Juju Charms Collection)
Fix Released
High
James Page
nova-cloud-controller (Juju Charms Collection)
Fix Released
Undecided
James Page

Bug Description

The number of workers processing Neutron jobs is currently not configurable. It should be, and have a default to scale relative to the number of cores on the machine.

Related branches

Changed in nova-cloud-controller (Juju Charms Collection):
status: New → In Progress
assignee: nobody → James Page (james-page)
Revision history for this message
James Page (james-page) wrote :

Nova CC change merged; however needs adding to the neutron-api service as well.

Revision history for this message
Nobuto Murata (nobuto) wrote :

Can we also have a good relative value for rpc_workers in neutron.conf as well as api_workers?

As far as I understand, neutron-server launches just one rpc worker at this moment.
http://git.openstack.org/cgit/openstack/neutron/tree/neutron/service.py#n44
http://git.openstack.org/cgit/openstack/neutron/tree/neutron/service.py#n151

Revision history for this message
James Page (james-page) wrote :

Nobuto

For icehouse, I know the rpc_workers feature was experimental - we'll look and see if that's sensible for Juno.

Thanks for the feedback!

Revision history for this message
Nobuto Murata (nobuto) wrote :

> For icehouse, I know the rpc_workers feature was experimental - we'll look and see if that's sensible for Juno.

Fair enough. My motivation was to ease the known issue below. Without increasing rpc_workers, one neutron-server process tends to occupy one CPU core all the time.
https://github.com/openstack/neutron-specs/blob/master/specs/juno/security-group-rules-for-devices-rpc-call-refactoring.rst

James Page (james-page)
Changed in nova-cloud-controller (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in neutron-api (Juju Charms Collection):
status: New → Triaged
importance: Undecided → High
tags: added: openstack
Xiang Hui (xianghui)
Changed in neutron-api (Juju Charms Collection):
status: Triaged → Fix Committed
assignee: nobody → James Page (james-page)
Changed in nova-cloud-controller (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in neutron-api (Juju Charms Collection):
status: Fix Committed → 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.