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
This commit is contained in:
Oleg Bondarev 2021-06-08 14:39:43 +03:00
parent df94641b43
commit 07337f9e99

View File

@ -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,