Bug 1623553

Summary: [OSP12] RX/TX Queue Size is missing THT parameter
Product: Red Hat OpenStack Reporter: Lee Yarwood <lyarwood>
Component: openstack-tripleo-heat-templatesAssignee: Ollie Walsh <owalsh>
Status: CLOSED ERRATA QA Contact: Archit Modi <amodi>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: agurenko, amcleod, bfournie, cfontain, eelena, fbaudin, jhakimra, lyarwood, mbabushk, mburns, mschuppe, oblaut, owalsh, skramaja, supadhya, yrachman, zgreenbe
Target Milestone: asyncKeywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-7.0.12-11.el7ost Doc Type: Bug Fix
Doc Text:
Previously, users could set RX/TX queue size with `nova::compute::libvirt::rx_queue_size/nova::compute::libvirt::tx_queue_size`. However, there was no dedicated TripleO heat template parameter. With this update, users can set the RX/TX queue size on a role base: ``` parameter_defaults: ComputeParameters: NovaLibvirtRxQueueSize: 1024 NovaLibvirtTxQueueSize: 1024 ```
Story Points: ---
Clone Of: 1619104
: 1623554 (view as bug list) Environment:
Last Closed: 2018-12-05 18:52:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1617927, 1619104    
Bug Blocks: 1623554    

Description Lee Yarwood 2018-08-29 15:22:51 UTC
+++ This bug was initially created as a clone of Bug #1619104 +++

+++ This bug was initially created as a clone of Bug #1617927 +++

Description of problem:
RX/TX Queue size implemented in RHOSP 14 according to the following BZ [1] [2], missing THT parameters.

[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1553088
[2] - https://bugzilla.redhat.com/show_bug.cgi?id=1512941

THT parameters should configure rx_queue_size and tx_queue_size in nova.conf
[libvirt]
rx_queue_size=1024
tx_queue_size=1024

--- Additional comment from Eric Elena on 2018-08-16 04:18:31 EDT ---

Please note that as per [0] you can use the following snippet:

parameter_defaults:
  ComputeExtraConfig:
    nova::compute::libvirt::rx_queue_size: 1024
    nova::compute::libvirt::tx_queue_size: 1024

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1571745

--- Additional comment from Martin Schuppert on 2018-08-22 05:58:49 EDT ---

RX/TX queue size can be set on a role base like:

parameter_defaults:
  ComputeParameters:
    NovaLibvirtRxQueueSize: 1024
    NovaLibvirtTxQueueSize: 1024

[root@compute-0 ~]# egrep "^rx|^tx" /var/lib/config-data/puppet-generated/nova_libvirt/etc/nova/nova.conf 
rx_queue_size=1024
tx_queue_size=1024

Comment 6 Joe H. Rahme 2018-11-26 07:07:18 UTC
Verified by running the following paramters:

parameter_defaults:
  ComputeExtraConfig:
    nova::compute::libvirt::rx_queue_size: 1024
    nova::compute::libvirt::tx_queue_size: 1024

Comment 9 errata-xmlrpc 2018-12-05 18:52:48 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-2018:3789