Merge "[OVN] Document the OVN L3 scheduler: AZs distribution"

This commit is contained in:
Zuul 2024-02-09 11:26:35 +00:00 committed by Gerrit Code Review
commit d6f3b86aea

View File

@ -81,8 +81,27 @@ is changed, the ``Logical_Router_Port`` is bound to the new ``Chassis`` and
could break any active sessions. could break any active sessions.
Availability Zones (AZ) distribution
------------------------------------
Both the ``OVNGatewayChanceScheduler`` and the
``OVNGatewayLeastLoadedScheduler`` schedulers have the Availability Zones (AZ)
in consideration. If a router has any AZ defined, the schedulers will select
only those chassis located in the AZs. If no chassis meets this condition, the
``Logical_Router_Port`` will be assigned to the "neutron-ovn-invalid-chassis".
Once the list of candidate ``Chassis`` (depending on the scheduler selected)
is created, this list is reordered to prioritize these ``Chassis`` from
different AZs. That will spread the allocation choices to all AZs; if the
current (and highest) ``Chassis`` binding fails, the next ``Chassis`` in the
list will belong to another AZ.
This improvement was implemented in [3]_.
References References
---------- ----------
.. [1] https://review.opendev.org/c/openstack/neutron/+/893653 .. [1] https://review.opendev.org/c/openstack/neutron/+/893653
.. [2] https://review.opendev.org/c/openstack/neutron/+/893654 .. [2] https://review.opendev.org/c/openstack/neutron/+/893654
.. [3] https://review.opendev.org/c/openstack/neutron/+/892604