The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1831755 - [RFE] Initialize Raft cluster with user specified election-timer
Summary: [RFE] Initialize Raft cluster with user specified election-timer
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch
Version: RHEL 7.7
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: ---
Assignee: Timothy Redaelli
QA Contact: Jianlin Shi
URL:
Whiteboard:
Depends On:
Blocks: 1831778
TreeView+ depends on / blocked
 
Reported: 2020-05-05 15:04 UTC by Anil Vishnoi
Modified: 2024-10-08 17:49 UTC (History)
4 users (show)

Fixed In Version: openvswitch2.16-2.16.0-1.el8fdp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-10-08 17:49:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-633 0 None None None 2021-12-15 19:29:31 UTC

Internal Links: 1831778

Description Anil Vishnoi 2020-05-05 15:04:20 UTC
Description of problem:

Currently OVS Raft cluster initialize with the default election-timer (1000ms). If user wants to change the election-timer value to initialize the cluster with specific value, they need to manually find the raft leader and increase the value by 2*default_value using ovs-appctl till they reach the timer value they want to set.
This requires consumers to write some operational code around it to set this value (for example, see pathc [1]). This can get tricky specifially if your cluster start partitioning during the start-up because of the heavy load to start with.

By allowing this value to be set at start-up of the raft cluster, would simplify the start-up process for the consumers (CNO, OVN, OVN-Kubernetes).


Expected results:
User should be able to pass election-timer value using a start-up time config knob (e.g --election-timer <value>), and raft cluster will override that value as a default election-timer.

[1] https://github.com/openshift/cluster-network-operator/pull/615/commits/bd5f5e6ebd594d1d510b9002f02163844c94ed1d#diff-54b09156f80dfb820afa115de13b8f32R166

Comment 4 ovs-bot 2024-10-08 17:49:14 UTC
This bug did not meet the criteria for automatic migration and is being closed.
If the issue remains, please open a new ticket in https://issues.redhat.com/browse/FDP


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