neutron/neutron/api
Slawek Kaplonski dd2c495a28 [L3HA] Don't update HA router's ports if router isn't active on agents
In case when HA router isn't active on any L3 agent,
_ensure_host_set_on_port method shouldn't try to update port's host to
the host from which there was an rpc message sent, as this can be host
on which router is in the "standby" mode.
This method should only update port's host to the router's "active_host"
if there is such active_host found already.

Depends-On: https://review.opendev.org/c/openstack/requirements/+/841489

Closes-Bug: #1973162
Closes-Bug: #1942190
Change-Id: Ib3945d294601b35f9b268c25841cd284b52c4ca3
(cherry picked from commit cd8bf18150)
2022-10-11 03:40:16 +00:00
..
rpc [L3HA] Don't update HA router's ports if router isn't active on agents 2022-10-11 03:40:16 +00:00
v2 Add base support for update_port_bulk 2019-07-05 21:07:29 +00:00
views Add a new configuration variable for api links. 2017-04-18 15:16:41 +00:00
__init__.py Added API extensions to detect sorting/pagination features 2016-08-01 22:57:15 +02:00
api_common.py Remove "six" library 2020-07-28 16:55:52 +00:00
extensions.py Don't use singleton in routes.middleware.RoutesMiddleware 2021-09-07 06:09:26 +00:00