Bug 1615763 - OVN tripleo deployment should configure neutron config rpc_workers to a low number (1 is enough, and higher when using SRIOV)
Summary: OVN tripleo deployment should configure neutron config rpc_workers to a low n...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z5
: 13.0 (Queens)
Assignee: Daniel Alvarez Sanchez
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks: 1658484
TreeView+ depends on / blocked
 
Reported: 2018-08-14 08:13 UTC by Numan Siddique
Modified: 2019-10-28 15:08 UTC (History)
11 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.0.7-25.el7ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1658484 (view as bug list)
Environment:
Last Closed: 2019-03-14 13:54:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1786952 0 None None None 2018-08-14 15:12:42 UTC
OpenStack gerrit 591679 0 None master: MERGED tripleo-heat-templates: Decoupling number of API and RPC workers for neutron-api (I0a3b78947fdeda638d0756f08b577d4351f37... 2018-11-12 11:43:36 UTC
OpenStack gerrit 591731 0 None master: MERGED tripleo-heat-templates: Set the number of RPC workers to 1 for non SRIOV OVN setups (Icf84516f24873717cb7615233d2e634141... 2018-11-12 11:43:31 UTC
Red Hat Product Errata RHBA-2019:0448 0 None None None 2019-03-14 13:55:04 UTC

Description Numan Siddique 2018-08-14 08:13:54 UTC
Description of problem:

Right now, puppet/services/neutron-api.yaml sets "neutron::servers::api_workers" and "neutron::servers::rpc_workers" from the t-h-t param "NeutronWorkers".

In the case of OVN, we do not need rpc workers at all (unless dhcp agent is used).

We should introduce a new t-h-t param for rpc_workers.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Eran Kuris 2018-11-11 11:17:25 UTC
In OSP13 puddle : 13.0-RHEL-7/2018-11-07.3/
I saw in neutron.conf 
# Number of RPC worker processes for service. (integer value)
#rpc_workers = 1
rpc_workers=4


[root@controller-0 ~]# rpm -qa | grep python-networking-ovn
python-networking-ovn-4.0.3-1.el7ost.noarch


Is part of default deployment is it ok?

Comment 6 Daniel Alvarez Sanchez 2018-11-11 13:55:11 UTC
Patches are merged upstream in master and under review in stable/rocky on THT. Changing the component now

Comment 24 Eran Kuris 2019-02-19 08:32:39 UTC
fix verified : 
OpenStack/13.0-RHEL-7/2019-02-15.1
(undercloud) [stack@undercloud-0 ~]$ rpm -qa | grep openstack-tripleo-heat-templates-
openstack-tripleo-heat-templates-8.2.0-1.el7ost.noarch


[root@controller-1 ~]# grep -i rpc /var/lib/config-data/neutron/etc/neutron/neutron.conf 
# Number of RPC worker processes for service. (integer value)
#rpc_workers = 1
rpc_workers=1

Comment 27 errata-xmlrpc 2019-03-14 13:54:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0448


Note You need to log in before you can comment on or make changes to this bug.