diff options
| author | amir58118 <sahahmadi96@gmail.com> | 2026-01-08 12:28:04 +0000 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2026-06-17 08:07:30 +0000 |
| commit | 42f4a33519cddfe20c6c25ed382cef0a90c66b06 (patch) | |
| tree | afbcfb18cb785ba0db337cb53d7be86943715ec1 /tests | |
| parent | 2ad59e7d1bdfbf18b4a7656c42fbc7bcfb599280 (diff) | |
| download | kolla-ansible-42f4a33519cddfe20c6c25ed382cef0a90c66b06.tar.gz kolla-ansible-42f4a33519cddfe20c6c25ed382cef0a90c66b06.zip | |
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 <sahahmadi96@gmail.com>
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
(cherry picked from commit 6c2b9225d52cf2470d7ed85fa5fde833d764bb3c)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/templates/globals-default.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} |
