From 42f4a33519cddfe20c6c25ed382cef0a90c66b06 Mon Sep 17 00:00:00 2001 From: amir58118 Date: Thu, 8 Jan 2026 12:28:04 +0000 Subject: Fix OVN SB relay port calculation for relay counts > 9 The OVN SB relay port was generated using string concatenation between the port prefix and relay group ID. When the relay count exceeded 9, this resulted in invalid port numbers such as 166410. Update the port calculation to use numeric addition instead, ensuring ports remain within the expected and valid range. Closes-Bug: #2131191 Change-Id: I4738339431483c3d38fb322c18888fe61cae1a62 Signed-off-by: amir58118 Signed-off-by: Michal Nasiadka (cherry picked from commit 6c2b9225d52cf2470d7ed85fa5fde833d764bb3c) --- tests/templates/globals-default.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index 0f6da316a..1a0d1a01c 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -196,7 +196,7 @@ libvirt_tls: "yes" neutron_plugin_agent: "ovn" neutron_ovn_distributed_fip: "yes" neutron_enable_ovn_agent: "yes" -ovn_sb_db_relay_count: "3" +ovn_sb_db_relay_count: "11" {% if not is_upgrade %} enable_neutron_vpnaas: "yes" {% endif %} -- cgit v1.2.3