aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway.yml
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2019-05-03 15:53:58 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-05-03 15:53:58 +0000
commit0a68db99b8f1173fe9b8844be598b4a63f0b24e8 (patch)
treee1639323bf43418354d4da963db5436fe21b712b /mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway.yml
parent8d2e6a999050df9e0bf5ff0c99d75c90f3a82fc1 (diff)
parent836a67e9d26035f0d4f76a34b0f92fd570d5b8b1 (diff)
Merge "Patch dhcp agent to avoid unwanted rescheduling" into stable/hunter
Diffstat (limited to 'mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway.yml')
-rw-r--r--mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway.yml b/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway.yml
index 5100add1f..fef8d4865 100644
--- a/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway.yml
+++ b/mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway.yml
@@ -20,3 +20,15 @@ parameters:
root_helper_daemon: false
dhcp_lease_duration: 3600
report_interval: 120
+ linux:
+ system:
+ file:
+ /var/tmp/dhcp_agent.patch:
+ contents: |
+ 549,551c549,550
+ < self.schedule_resync("Duplicate IP addresses found, "
+ < "DHCP cache is out of sync",
+ < created_port.network_id)
+ ---
+ > LOG.info("Duplicate IP addresses found for %s network",
+ > created_port.network_id)