Merge "Increase timeout when waiting for dnsmasq enablement" into stable/train

This commit is contained in:
Zuul 2019-11-12 05:43:53 +00:00 committed by Gerrit Code Review
commit 34b5e08739

View File

@ -214,7 +214,7 @@ class DhcpLocalProcess(DhcpBase):
def enable(self):
"""Enables DHCP for this network by spawning a local process."""
try:
common_utils.wait_until_true(self._enable)
common_utils.wait_until_true(self._enable, timeout=300)
except common_utils.WaitTimeout:
LOG.error("Failed to start DHCP process for network %s",
self.network.id)