From 07337f9e99cdcfb1af3546a537d5595330e8bded Mon Sep 17 00:00:00 2001 From: Oleg Bondarev Date: Tue, 8 Jun 2021 14:39:43 +0300 Subject: [PATCH] Use 2 dhcp agents in TestLegacyL3Agent This is a workaround for privsep hanging issue described in bug 1930401. Proper fix is developed in https://review.opendev.org/c/openstack/neutron/+/794994 - this fix will revert current change to reproduce and verify privsep issue is fixed. Related-Bug: #1930401 Change-Id: I143cd55612118f243c0e502fb77a611d1ee48761 --- neutron/tests/fullstack/test_l3_agent.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/neutron/tests/fullstack/test_l3_agent.py b/neutron/tests/fullstack/test_l3_agent.py index f69a1f10af2..c11a6e6145c 100644 --- a/neutron/tests/fullstack/test_l3_agent.py +++ b/neutron/tests/fullstack/test_l3_agent.py @@ -272,7 +272,10 @@ class TestLegacyL3Agent(TestL3Agent): host_descriptions = [ environment.HostDescription(l3_agent=True, dhcp_agent=True, l3_agent_extensions="fip_qos"), - environment.HostDescription()] + # None(obondarev): dhcp agent is added to workaround bug 1930401, + # to be removed in scope of proper bug fix: + # https://review.opendev.org/c/openstack/neutron/+/794994 + environment.HostDescription(dhcp_agent=True)] env = environment.Environment( environment.EnvironmentDescription( network_type='vlan', l2_pop=False,