[L3-HA] "max_l3_agents_per_router" not honored when the redundancy is reduced
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Rodolfo Alonso |
Bug Description
Related bugzilla: https:/
NOTE: Config option "router_
This issue is happening when initially we have a "max_l3_
For example, if "max_l3_
MariaDB [ovs_neutron]> select * from routerl3agentbi
+------
| router_id | l3_agent_id | binding_index |
+------
| f8d3fec5-
| f8d3fec5-
| f8d3fec5-
+------
Now we reduce the redundancy to "max_l3_
In the given example, if the agents with "binding_index" different from 1 are removed, the vacant binding index method [1] will return 1:
open_slots = sorted(
--> all_indicies = {1}
--> binding_indices = {3} # for example
--> open_slots = {1} # instead of an empty set(), as expected here.
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/openstack /neutron/ +/873107
Review: https:/