commit 715ecb1a675b5271b1d4939fcfc7a85e0bf5f1e9
Author: Lucas Alvares Gomes <email address hidden>
Date: Fri Aug 6 13:32:08 2021 +0100
[OVN] Fix Router Availability Zones for segmented networks
This patch changes the get_candidates_for_scheduling() method to also
consider all gateway chassis as potential candidates (limited by
Availability Zones) in case physnet parameter is empty (as for the
segmented networks case).
This patch is a simpler/backportable fix for the segmented networks +
Router AZs use case. In the future we should consider refactoring the
code responsible for scheduling the gateway router ports, a more detailed
explanation of what is happening/needed can be found at LP #1939144.
Change-Id: I8dc5336c6e2acd0b0a2cad0e80eee91280b9f945
Closes-Bug: #1939144
Signed-off-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit 8ac9e2fe6d37ba4608cf141c78017524a5cae1de)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/803922 /opendev. org/openstack/ neutron/ commit/ 715ecb1a675b527 1b1d4939fcfc7a8 5e0bf5f1e9
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit 715ecb1a675b527 1b1d4939fcfc7a8 5e0bf5f1e9
Author: Lucas Alvares Gomes <email address hidden>
Date: Fri Aug 6 13:32:08 2021 +0100
[OVN] Fix Router Availability Zones for segmented networks
This patch changes the get_candidates_ for_scheduling( ) method to also
consider all gateway chassis as potential candidates (limited by
Availability Zones) in case physnet parameter is empty (as for the
segmented networks case).
This patch is a simpler/ backportable fix for the segmented networks +
Router AZs use case. In the future we should consider refactoring the
code responsible for scheduling the gateway router ports, a more detailed
explanation of what is happening/needed can be found at LP #1939144.
Change-Id: I8dc5336c6e2acd 0b0a2cad0e80eee 91280b9f945 608cf141c780175 24a5cae1de)
Closes-Bug: #1939144
Signed-off-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit 8ac9e2fe6d37ba4