[Bug 1990978] Re: Raft bug: OVSDB leadership transfers every 10-20 min after initial compaction
Edward Hope-Morley
1990978 at bugs.launchpad.net
Wed Sep 28 10:54:50 UTC 2022
** Also affects: openvswitch (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: openvswitch (Ubuntu Kinetic)
Importance: Undecided
Status: New
** Changed in: openvswitch (Ubuntu Kinetic)
Status: New => Fix Released
** Also affects: cloud-archive
Importance: Undecided
Status: New
** Also affects: cloud-archive/yoga
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1990978
Title:
Raft bug: OVSDB leadership transfers every 10-20 min after initial
compaction
Status in Ubuntu Cloud Archive:
New
Status in Ubuntu Cloud Archive yoga series:
New
Status in openvswitch package in Ubuntu:
Fix Released
Status in openvswitch source package in Jammy:
New
Status in openvswitch source package in Kinetic:
Fix Released
Bug description:
First compaction starts after 24 hours, or earlier after doubling of
DB size.
Subsequent compactions will trigger every 10-20 min.
The OVS version hitting this issue:
ovs-vsctl (Open vSwitch) 2.17.2
Commit ID that fixes the issue is: https://github.com/openvswitch/ovs/commit/a32a4e1fa2d3fad284834d4b7bccc2e71d33f9da
https://github.com/openvswitch/ovs/commit/dfc3e65c8191f5dc375337c23aed128b5c0d7781(2.17 branch patch)
Testcase:
Trigger compactions by using command line tool:
ovs-appctl -t /var/run/ovn/ovnsb_db.ctl ovsdb-server/compact
Check for leadership transfers using:
sudo grep "Transferring leadership" /var/log/ovn/ov* | grep ovsdb-server-sb.log
There should be a new entry every 10-20min.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1990978/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list