Skip to content

Conversation

@bbezak
Copy link
Member

@bbezak bbezak commented Nov 14, 2025

No description provided.

It is now aligning the HA chassis priorities
based on gateway chassis ones.

Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
(cherry picked from commit 2be3fd2)
After kolla-ansible patch [1] ovn commands can run on all nodes.
Changing method of getting the leader.

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/963412

Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
(cherry picked from commit f8f9b24)
@bbezak bbezak requested a review from a team as a code owner November 14, 2025 12:17
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request significantly improves the ovn-fix-chassis-priorities.yml playbook. It introduces a more reliable method for detecting the OVN northbound database leader and replaces the simplistic priority assignment with a sophisticated logic that correctly aligns HA chassis priorities with active gateways. These changes should effectively address the routing issues caused by misaligned priorities. My review includes a few suggestions to enhance the maintainability and efficiency of the embedded shell script.

@bbezak bbezak merged commit 4b1745b into stackhpc/2024.1 Nov 14, 2025
23 checks passed
@bbezak bbezak deleted the ovn-fix-chassis-priorities-backport branch November 14, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants