Bug 2134364

Summary: [OVN] Hash Ring nodes considered dead because of delayed probing
Product: Red Hat OpenStack Reporter: Lucas Alvares Gomes <lmartins>
Component: python-networking-ovnAssignee: Lucas Alvares Gomes <lmartins>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: apevec, jlibosva, lhh, majopela, scohen
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-networking-ovn-7.3.1-1.2022/1020133552.4e24f4c.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2134365 (view as bug list) Environment:
Last Closed: 2022-12-07 20:27:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2125842, 2134365    

Description Lucas Alvares Gomes 2022-10-13 09:19:04 UTC
Right now, probing the hash ring nodes happens as part of the maintenance task thread but this thread is only started after we establish a connection with the OVSDB servers in the post_fork_initialize() method for ML2/OVN.

If this connection with OVSDB takes longer than expected, it's possible that the nodes in the hash ring (that have to be added prior to this connection) will time out because the maintenance task thread has not yet being started.

Ideally, we would need to separate the probing to it's own periodic thread that is started before the connections with the OVSDBs to avoid this problem.

This BZ is related to the initial work done at: https://bugzilla.redhat.com/show_bug.cgi?id=2125828

Comment 2 Jakub Libosvar 2022-11-14 17:13:26 UTC
This will be fixed in 16.2 - bug 2134365

Comment 10 errata-xmlrpc 2022-12-07 20:27:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1.9 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8795