From 8670c3f9d334d45bf47add8c2a5ebd34ccd47e56 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Wed, 15 Jan 2025 11:20:00 +0000 Subject: ovn: Add support for OVN SB Relay Add support for deploying OVN SB relays [1]. This is enabled by default to improve large scale scenarios. Default mechanism deploys one relay group per 50 ovn-controller hosts and uses random but idempotent method to choose a relay for a given host. neutron-server and Octavia will connect directly to SB cluster, not via the relays. kolla-ansible check subcommand does not support ,,iterated'' containers for now - but will be introduced in a subsequent patch. [1]: https://docs.ovn.org/en/latest/tutorials/ovn-ovsdb-relay.html Co-Authored-By: Krzysztof Tomaszewski Depends-On: https://review.opendev.org/c/openstack/kolla/+/928898 Change-Id: Id7d6973668d8b2b194913b533f8cb756c6708536 --- tests/templates/inventory.j2 | 3 +++ tests/test-ovn.sh | 3 +++ 2 files changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/templates/inventory.j2 b/tests/templates/inventory.j2 index 22ae0758a..6db4a7c8a 100644 --- a/tests/templates/inventory.j2 +++ b/tests/templates/inventory.j2 @@ -672,6 +672,9 @@ ovn-database [ovn-sb-db:children] ovn-database +[ovn-sb-db-relay:children] +ovn-database + [venus-api:children] venus diff --git a/tests/test-ovn.sh b/tests/test-ovn.sh index f7aa74e68..fbe91eeca 100755 --- a/tests/test-ovn.sh +++ b/tests/test-ovn.sh @@ -34,6 +34,9 @@ function test_ovn { echo "Output: ${OVNSB_STATUS}" exit 1 fi + + echo "OVS entries" + sudo ${container_engine} exec openvswitch_vswitchd ovs-vsctl list open } function test_octavia { -- cgit v1.2.3