Bug 2104576

Summary: Add support for setting ovsdb-server RAFT election timer
Product: Red Hat OpenStack Reporter: Terry Wilson <twilson>
Component: tripleo-ansibleAssignee: Terry Wilson <twilson>
Status: CLOSED ERRATA QA Contact: Alex Katz <akatz>
Severity: high Docs Contact:
Priority: high    
Version: 17.0 (Wallaby)CC: egarciar, ekuris, jschluet, jslagle, pgrist, spower
Target Milestone: gaKeywords: Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-3.3.1-0.20220720020865.fa5422f.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-21 12:23:49 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: 1503518    

Description Terry Wilson 2022-07-06 16:03:31 UTC
Description of problem:
Currently there is no way to alter the default ovsdb-server election timer which defaults to 1s other than running ovn-appctl on the leader. The timer can, at maxi mum, be doubled each call. Getting to a desired value that would be appropriate for a load of 100 nodes requires calling the command for 2s, 4s, 8s, and 10s. It should instead be configured at deployment time.

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

How reproducible:
100%

Steps to Reproduce:
1. Deploy with OVN/RAFT
2. Check timer with ovn-appctl -t /var/run/ovn/ovnnb_db.ctl cluster/status OVN_Northbound


Actual results:
Election timer is set to the default 1s

Expected results:
Election timer is set to the default 10s (or whatever is configured by tripleo)

Additional info:

Comment 13 errata-xmlrpc 2022-09-21 12:23:49 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 17.0 (Wallaby)), 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/RHEA-2022:6543