neutron/neutron/tests
Lucas Alvares Gomes 9e8e3a7867 [OVN] Hash Ring: Better handle Neutron worker failures
This patch implements a more resilient approach to handle the case
where Neutron API workers are killed and restarted. Instead of marking
all nodes for that host as offline, this patch tries to remove the
worker that was killed from the Hash Ring leaving all others nodes for
that host online.

In case the we fail to remove the node and another entry is added upon the
restart of the worker this patch also logs a clear critical log message to
alert the operator that there are more Hash Ring nodes than API workers
(it's expect to be the same) and that OVSDB events could go missing if
they are routed to the previous node that failed to be removed from the
ring.

Closes-Bug: #2024205
Change-Id: I4b7376cf7df45fcc6e487970b068d06b4e74e319
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2023-08-01 10:05:36 +01:00
..
common Refactor for ovs qos driver meter limit features 2023-07-05 17:40:10 +08:00
contrib Allow Multiple External Gateways 2023-05-24 20:40:59 +03:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Switch fullstack/functional fips jobs to 9-stream 2023-07-03 07:46:19 +00:00
functional [OVN] Hash Ring: Better handle Neutron worker failures 2023-08-01 10:05:36 +01:00
unit [OVN] Hash Ring: Better handle Neutron worker failures 2023-08-01 10:05:36 +01:00
var
__init__.py
base.py Initialize config in DietTestCase class 2023-07-19 12:58:58 +02:00
post_mortem_debug.py
tools.py Extend database to support portforwardings with port range 2022-03-15 09:10:23 -03:00