[SRU] neutron ovsdbapp ssl connection stuck in OSError error loop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvswitch (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned | ||
Mantic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
terminated/closed ssl connections between openstack agents and the ovn-central databases are not properly handled and this patch fixes that.
[Test Plan]
* deploy Openstack with OVN
* abruptly terminate connections between neutron-server and/or neutron-
* ensure that connections are re-established and the errors below no not appear.
[Regression Potential]
No regressions are anticipated as a result of using this patch.
-------
We are running Openstack Yoga on both Ubuntu Focal and Ubuntu Jammy and both environments are experiencing the following errors in neutron-server and neutron-
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
2023-05-02 00:01:05.026 2146189 ERROR ovsdbapp.
This reconnect error happens forever after an initial ssl disconnect like:
2023-04-12 19:15:40.281 2146189 ERROR ovsdbapp.
call last):
File "/usr/lib/
txn.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
error = self.stream.
File "/usr/lib/
self.
File "/usr/lib/
return self._call_
File "/usr/lib/
return func(*a, **kw)
File "/usr/lib/
self.
ssl.SSLZeroRetu
Versions:
focal:
ii python3-openvswitch 2.17.2-
ii python3-ovsdbapp 1.1.0-0ubuntu2 all library for creating OVSDB applications - Python 3.x
jammy:
ii python3-openvswitch 2.17.3-
ii python3-ovsdbapp 1.15.1-0ubuntu2 all library for creating OVSDB applications - Python 3.x
This looks to have been recently fixed in https:/ /github. com/openvswitch /ovs/commit/ b456b1a02f629c2 438ef2c3f247f35 c8712f12c6 so need to get that backported to 2.17.x