From 9286588fc0c3df370d4b906776432b7f3591e3b6 Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Mon, 4 Mar 2024 20:30:40 +0000 Subject: [PATCH] [OVN] Do not check L3 agents state with ML2/OVN With [1], the ML2/OVN L3 plugin will have the "ha" API extension enabled. The OVN L3 plugin does not have L3 agents; this check should be skipped. [1]https://review.opendev.org/c/openstack/neutron/+/910889 Related-Bug: #2020823 Change-Id: I09c12ba36b007d4f6fdd3723974ecfe9e4466b72 --- neutron_tempest_plugin/scenario/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron_tempest_plugin/scenario/base.py b/neutron_tempest_plugin/scenario/base.py index 9d53f794..021b3b7c 100644 --- a/neutron_tempest_plugin/scenario/base.py +++ b/neutron_tempest_plugin/scenario/base.py @@ -236,7 +236,7 @@ class BaseTempestTestCase(base_api.BaseNetworkTest): @classmethod def _wait_for_router_ha_active(cls, router_id): router = cls.os_admin.network_client.show_router(router_id)['router'] - if not router.get('ha'): + if not router.get('ha') or cls.is_driver_ovn: return def _router_active_on_l3_agent():