9e8e3a7867
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> |
||
---|---|---|
.. | ||
common | ||
ml2 | ||
__init__.py |