Bug 1952060

Summary: [RFE] Support OVS auto balance parameters though TripleO
Product: Red Hat OpenStack Reporter: yogananth subramanian <ysubrama>
Component: tripleo-ansibleAssignee: OSP Team <rhos-maint>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: bperkins, hakhande, jamsmith, jjoyce, jschluet, kfida, mgeary, mnietoji, oblaut, rhos-maint, slinaber, spower, supadhya, tvignaud
Target Milestone: z2Keywords: FutureFeature, TechPreview, Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-0.8.1-2.20220112214927.5e744eb.el8ost openstack-tripleo-heat-templates-11.6.1-2.20220116004909.64b2e88.el8ost Doc Type: Technology Preview
Doc Text:
With this technology preview update, you can set the following parameters to configure OVS PMD auto load balance: * `OvsPmdAutoLb` Enable/disable the OVS DPDK PMD Auto Load Balance feature. Values: true or false. OVS DPDK uses the default value of false. * `OvsPmdLoadThreshold` Set the minimum PMD thread load threshold for OVS DPDK PMD Auto Load Balance feature. Set a value from 0 to 100 to specify the minimum PMD thread load threshold (percentage of used cycles) of any non-isolated PMD threads when a PMD Auto Load Balance might be triggered. * `OvsPmdImprovementThreshold` Set PMD load variance improvement threshold for OVS DPDK PMD Auto Load Balance feature. Set a value from 0 to 100 to specify the minimum evaluated percentage improvement in load distribution across the non-isolated PMD threads that allows a PMD Auto Load Balance to occur. * `OvsPmdRebalInterval` Set PMD auto load balancing interval for OVS DPDK PMD Auto Load Balance feature. Set a value from 0 to 20,000 to specify the minimum time (in minutes) between 2 consecutive PMD Auto Load Balancing iterations.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-23 22:10:08 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:    
Bug Blocks: 1880239    

Description yogananth subramanian 2021-04-21 12:50:18 UTC
Description of problem:
At present it is not possible set OVS auto balance parameters though TripleO
By setting OVS auto balance parameters pmd-auto-lb-load-threshold,pmd-auto-lb-improvement-threshold,pmd-auto-lb-rebal-interval,pmd-auto-lb
through TripleO, the end user easily customize them during deployment according to their requirement

These parameter would enable the end user to set load threshold(pmd-auto-lb-load-threshold), variance improvement threshold(pmd-auto-lb-improvement-threshold), minimum time between 2 consecutive PMD auto load balancing iterations(pmd-auto-lb-rebal-interval)

Comment 4 Karrar Fida 2021-09-23 11:47:25 UTC
@ysubrama can you please move to POST otherwise this BZ won't be picked up in the target release 16.2.2

Comment 11 Miguel Angel Nieto 2022-02-25 14:41:40 UTC
Verified in RHOS-16.2-RHEL-8-20220221.n.1

parameter_defaults:                                                             
  ComputeOvsDpdkSriovParameters:                                                                                     
    OvsPmdAutoLb: true                                                          
    OvsPmdLoadThreshold: 70                                                     
    OvsPmdImprovementThreshold: 25                                              
    OvsPmdRebalInterval: 2

Comment 20 errata-xmlrpc 2022-03-23 22:10:08 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 (Release of components for Red Hat OpenStack Platform 16.2.2), 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-2022:1001