Backport 2092271 to 2026.1#286
Open
mnasiadka wants to merge 3 commits into
Open
Conversation
Member
Author
|
recheck node failure |
a50598b to
45a834d
Compare
Neutron is not longer setting a ``Gateway_Chassis`` reference in a ``Logical_Router_Port``. Instead, Neutron uses ``HA_Chassis_Group`` to provide HA binding scheduling. Partial-Bug: #2092271 Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@redhat.com> Change-Id: I51035c1fd9a6ca2bf3b95cb06cb7329e28316193
The ``Logical_Router_Port`` has been migrated from using ``Gateway_Chassis`` to ``HA_Chassis_Group``. This patch updates the network ``HA_Chassis_Group`` synchronization code (LP#2125553) to read the chassis priorities from the gateway LRP's ``HA_Chassis_Group`` instead of the legacy ``Gateway_Chassis``. The ``LogicalRouterPortGatewayChassisEvent`` OVN event, which monitored ``Gateway_Chassis`` changes on the ``Logical_Router_Port`` table, has been replaced with ``RouterHAChassisGroupEvent``. This new event watches the ``HA_Chassis_Group`` table for ``ha_chassis`` changes, filtered to router-only ``HA_Chassis_Group`` registers (those with a ``neutron:router_id`` tag but without a ``neutron:network_id`` tag). Related feature: https://review.opendev.org/q/topic:%22bug/2125553%22 Related-Bug: #2125553 Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@redhat.com> Change-Id: I8bfcc2b77acb89b78b13563aa4ca9fe3f19cb076
The NB API method ``schedule_new_gateway`` now creates a ``HA_Chassis_Group`` and its ``HA_Chassis`` registers, and associates it to the gateway ``Logical_Router_Port``. The usage og ``Gateway_Chassis`` is deprecated. The option ``redirect-chassis`` is no longer used nor supported in Neutron. This option was superseded in [1] (v20.03.0) in favor of ``HA_Chassis_Group`` and it was deprecated in [2] (v20.12.0). This patch also implementes a new maintenance method ``migrate_lrp_gateway_chassis_to_ha_chassis_group``, that replaces the ``Logical_Router_Port`` ``Gateway_Chassis`` with the equivalent ``HA_Chassis_Group``, that is the preferred method for HA scheduling in OVN, as reported in the LP bug. [1]ovn-org/ovn@8b7972d [2]ovn-org/ovn@f77db41 Partial-Bug: #2092271 Change-Id: If38f405428a8b27bf551db48c4e96d75deeb09fc Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@redhat.com> Use HA_Chassis_Group in the OVN L3 scheduler This patch adds the last bits of this feature: * Updates the documentation. * Adds a release note. With this patch, the feature described in LP#2092271 can be considered as finished. Closes-Bug: #2092271 Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@redhat.com> Change-Id: I1283bb140bb8242f9053830dac8ec9437e00e695
45a834d to
a1ad253
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://bugs.launchpad.net/neutron/+bug/2092271