Patch dhcp agent to avoid unwanted rescheduling
[fuel.git] / mcp / reclass / classes / cluster / mcp-common-noha / openstack_gateway.yml
index d97ac7a..fef8d48 100644 (file)
@@ -7,7 +7,7 @@
 ##############################################################################
 ---
 classes:
-  - system.linux.system.repo.mcp.apt_mirantis.openstack
+  - cluster.all-mcp-arch-common.backports
   - cluster.mcp-common-noha.openstack_gateway_pdf
 parameters:
   _param:
@@ -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)