File 0001-Drop-strict-order-flag-from-dnsmasq-invocation.patch of Package openstack-neutron

From aa4cbc9cde98aabe32d4ee0fd82195e5ec94d133 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dirk@dmllr.de>
Date: Mon, 29 Jan 2018 15:11:04 +0100
Subject: [PATCH] Drop strict-order flag from dnsmasq invocation

Without this flag, dnsmasq prefers to ask the servers that
are known to be up, rather than hitting servers that are either
down or known to be broken. This greatly reduces responsivity
impact of broken upstream servers.

Closes-Bug: #1746000
Change-Id: Ieee4dafc578c3bda0935fcdb80faad6c342a10e9
(cherry picked from commit d3c69dc4f22ef96ad3fb66430ce703d9c2199d2e)
---
 neutron/agent/linux/dhcp.py                 | 1 -
 neutron/tests/unit/agent/linux/test_dhcp.py | 1 -
 2 files changed, 2 deletions(-)

Index: neutron-9.4.2.dev21/neutron/agent/linux/dhcp.py
===================================================================
--- neutron-9.4.2.dev21.orig/neutron/agent/linux/dhcp.py
+++ neutron-9.4.2.dev21/neutron/agent/linux/dhcp.py
@@ -320,7 +320,6 @@ class Dnsmasq(DhcpLocalProcess):
             'dnsmasq',
             '--no-hosts',
             _no_resolv,
-            '--strict-order',
             '--except-interface=lo',
             '--pid-file=%s' % pid_file,
             '--dhcp-hostsfile=%s' % self.get_conf_file_name('host'),
Index: neutron-9.4.2.dev21/neutron/tests/unit/agent/linux/test_dhcp.py
===================================================================
--- neutron-9.4.2.dev21.orig/neutron/tests/unit/agent/linux/test_dhcp.py
+++ neutron-9.4.2.dev21/neutron/tests/unit/agent/linux/test_dhcp.py
@@ -1089,7 +1089,6 @@ class TestDnsmasq(TestBase):
             'dnsmasq',
             '--no-hosts',
             no_resolv,
-            '--strict-order',
             '--except-interface=lo',
             '--pid-file=%s' % expected_pid_file,
             '--dhcp-hostsfile=/dhcp/%s/host' % network.id,
openSUSE Build Service is sponsored by