neutron/neutron/cmd
Lucas Alvares Gomes fbaf313bab [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>
(cherry picked from commit 9e8e3a7867)
2023-08-03 09:23:37 +01:00
..
eventlet [OVN] Implementation of OVN Neutron Agent 2023-01-26 07:41:38 +01:00
ovn [OVN] Hash Ring: Better handle Neutron worker failures 2023-08-03 09:23:37 +01:00
sanity ovs-dpdk support in neutron-sanity-check 2023-01-04 16:54:17 -05:00
upgrade_checks Add a method to retrieve and register "rpc_workers" config knob 2023-02-08 11:48:48 +01:00
__init__.py Fix logging error for Guru Meditation Report 2016-02-08 16:52:17 -08:00
destroy_patch_ports.py Use ovs constants from neutron-lib 2022-06-17 10:36:44 +05:30
ipset_cleanup.py Don't register config options on imports 2022-04-13 05:49:15 +00:00
keepalived_state_change.py Replace keepalived notifier bash script with Python ip monitor 2015-03-18 18:59:33 -04:00
linuxbridge_cleanup.py Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
netns_cleanup.py Don't register config options on imports 2022-04-13 05:49:15 +00:00
ovs_cleanup.py Don't register config options on imports 2022-04-13 05:49:15 +00:00
pd_notify.py Fix pylint R1714 (consider-using-in) refactor messages 2019-02-21 21:11:34 +00:00
remove_duplicated_port_bindings.py Delete the PB level registers when deleting the duplicated PB 2023-01-02 11:05:12 +00:00
runtime_checks.py Add sanity check for keepalived gar on SIGHUP support 2022-12-27 13:24:43 +00:00
sanitize_port_binding_profile_allocation.py Fix some pylint indentation warnings 2022-12-12 11:48:25 -05:00
sanitize_port_mac_addresses.py Don't register config options on imports 2022-04-13 05:49:15 +00:00
sanity_check.py Add sanity check for keepalived gar on SIGHUP support 2022-12-27 13:24:43 +00:00
status.py Don't register config options on imports 2022-04-13 05:49:15 +00:00