FYI, I'm using OVN 24.03 and OVS 3.3. 张祖建 <[email protected]> 于2025年12月10日周三 13:21写道:
> Hi, all: > > In my 3-node ovn nb cluster, there was 2 leaders elected at the same time: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *Name: OVN_NorthboundCluster ID: 42f9 > (42f9d799-8be7-43d8-a0c3-7d27bad687f2)Server ID: 4400 > (44006f96-ec88-41d5-be54-8a36dca481a3)Address: > tcp:[10.81.50.33]:6643Status: cluster memberRole: leaderTerm: 12157Leader: > selfVote: selfLast Election started 43508320 ms ago, reason: timeoutLast > Election won: 43501443 ms agoElection timer: 5000Log: [761097, > 762117]Entries not yet committed: 0Entries not yet applied: 0Connections: > ->f871 ->6e32 <-6e32 <-f871Disconnections: 1412579Servers: f871 (f871 at > tcp:[10.81.50.34]:6643) next_index=761097 match_index=0 last msg 10 ms ago > 6e32 (6e32 at tcp:[10.81.50.32]:6643) next_index=762117 > match_index=762116 last msg 987 ms ago 4400 (4400 at > tcp:[10.81.50.33]:6643) (self) next_index=761710 match_index=762116Name: > OVN_NorthboundCluster ID: 42f9 (42f9d799-8be7-43d8-a0c3-7d27bad687f2)Server > ID: f871 (f87101dc-fcaf-4849-b630-46ad005849a5)Address: > tcp:[10.81.50.34]:6643Status: cluster memberRole: leaderTerm: 12157Leader: > selfVote: selfLast Election started 43502055 ms ago, reason: timeoutLast > Election won: 43501652 ms agoElection timer: 5000Log: [761087, > 761724]Entries not yet committed: 0Entries not yet applied: 0Connections: > ->6e32 ->4400 <-6e32 <-4400Disconnections: 815567Servers: 6e32 (6e32 at > tcp:[10.81.50.32]:6643) next_index=761724 match_index=761723 last msg 1525 > ms ago f871 (f871 at tcp:[10.81.50.34]:6643) (self) next_index=761710 > match_index=761723 4400 (4400 at tcp:[10.81.50.33]:6643) > next_index=761087 match_index=0 last msg 2 ms agoName: > OVN_NorthboundCluster ID: 42f9 (42f9d799-8be7-43d8-a0c3-7d27bad687f2)Server > ID: 6e32 (6e322210-900e-406d-b9c7-be449d71fe0c)Address: > tcp:[10.81.50.32]:6643Status: cluster memberRole: followerTerm: > 12157Leader: f871Vote: 4400Last Election started 43504174 ms ago, reason: > timeoutElection timer: 5000Log: [761093, 762117]Entries not yet committed: > 0Entries not yet applied: 0Connections: ->f871 ->4400 <-4400 > <-f871Disconnections: 602205Servers: 6e32 (6e32 at > tcp:[10.81.50.32]:6643) (self) f871 (f871 at tcp:[10.81.50.34]:6643) > last msg 67 ms ago 4400 (4400 at tcp:[10.81.50.33]:6643) last msg 1413 > ms ago* > > Finally, server 4400 transferred the leadership to write a snapshot and > the cluster came back to normal. > > Is there any idea why it happened? Thanks. > > Attachment is the ovsdb-server logs. > >
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
