[Bug 1972648] Re: Schema upgrade unsuccessful at first attempt, succeds at second attempt
Frode Nordahl
1972648 at bugs.launchpad.net
Fri Mar 31 06:14:03 UTC 2023
*** This bug is a duplicate of bug 1999605 ***
https://bugs.launchpad.net/bugs/1999605
There is a bigger problem here tracked in bug 1999605
** This bug has been marked a duplicate of bug 1999605
ovsdb: schema conversion for clustered db blocks preventing processing of raft election and inactivity probes
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ovn in Ubuntu.
https://bugs.launchpad.net/bugs/1972648
Title:
Schema upgrade unsuccessful at first attempt, succeds at second
attempt
Status in ovn package in Ubuntu:
New
Bug description:
When upgrading the OVN package on the unit that first was used to
create a DB cluster (i.e. `--db-Xb-cluster-remote-addr` is empty in
/etc/default/ovn-central) the `ovn-ctl` script will perform Schema
upgrade of the cluster.
This sometimes fails in the first attempt, but succeeds in the second
attempt by just restarting the appropriate OVN DB systemd service.
This is with only upgrading the package on the lead unit, leaving the
other nodes available in the cluster.
No trace of the failure is to be found in the logs so we can only
guess what is happening.
Looking at the CTL library code [0] I suspect that the default of
using a 30 second timeout [1] for the entire `ovsdb-client` invocation
is insufficient if the system is slow/busy/has large db/need
compaction/snapshot etc etc.
0: https://github.com/openvswitch/ovs/blob/9dd3031d2e0e9597449e95428320ccaaff7d8b3d/utilities/ovs-lib.in#L490
1: https://github.com/openvswitch/ovs/blob/9dd3031d2e0e9597449e95428320ccaaff7d8b3d/lib/timeval.c#L257-L271
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ovn/+bug/1972648/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list