Patch dhcp agent to avoid unwanted rescheduling
[fuel.git] / mcp / reclass / classes / cluster / mcp-common-noha / openstack_gateway.yml
index 499749d..fef8d48 100644 (file)
@@ -7,7 +7,7 @@
 ##############################################################################
 ---
 classes:
-  - system.linux.system.repo.mcp.mirror.v1.openstack
+  - cluster.all-mcp-arch-common.backports
   - cluster.mcp-common-noha.openstack_gateway_pdf
 parameters:
   _param:
@@ -18,3 +18,17 @@ parameters:
       agent_mode: ${_param:neutron_gateway_agent_mode}
       vlan_aware_vms: true
       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)