[ovn] ml2/ovn may time out connecting to ovsdb server and stays dead in the water
Bug #1926653 reported by
Flavio Fernandes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Flavio Fernandes |
Bug Description
Right now, the IDL connections between ml2/ovn are not resilient
enough when connecting. It doesn't make sense to give up on that
since the ml2/ovn is useless w/out that access.
If ovsdb-server is slow and takes more than timeout seconds, everything
reconnecting after partial downloads and starting over is not going to
make things better. That is particularly likely to happen when the OVN
DB is very large.
This work is also tracked under Bugzilla:
https:/
Changed in neutron: | |
assignee: | nobody → Flavio Fernandes (ffernand) |
Changed in neutron: | |
importance: | Undecided → High |
Changed in neutron: | |
status: | New → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/788535 /opendev. org/openstack/ neutron/ commit/ 9c3c718e244c60e ffdbdfb62628456 bc9a6a5add
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit 9c3c718e244c60e ffdbdfb62628456 bc9a6a5add
Author: Terry Wilson <email address hidden>
Date: Wed Apr 21 16:35:22 2021 +0000
Don't ever give up trying to connect to OVN DBs
It doesn't really make since to give up connectimg to the OVN DBs
since we can't do anything without them. If ovsdb-server is slow
and takes more than timeout seconds, everything reconnecting after
partial downloads and starting over is not going to make things
better.
We can change the behavior in ovsdbapp, but doing it without
making non-backportable API changes isn't easily doable.
The plan would be, after merging this back through stable, to
modify ovsdbapp to allow setting different connection and txn
timeouts and being able to disable the timeout in wait_for_change
with a value of -1. Then in the main branch of neutron we can
use that going forward.
Closes-Bug: #1926653
Change-Id: Ia9e23113fdeebf 0b99085da200c3d 61b71567d36 d50baecc523dd30 be034669a9)
(cherry picked from commit 39ccc0d6d6995b8