]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix wrong log output in neutron/neutron/agent/linux/dhcp.py
authorMitsuhiro SHIGEMATSU <shigematsu.mitsuhiro@lab.ntt.co.jp>
Mon, 9 Mar 2015 09:55:46 +0000 (18:55 +0900)
committerSHIGEMATSU Mitsuhiro <shigematsu.mitsuhiro@lab.ntt.co.jp>
Mon, 9 Mar 2015 12:47:52 +0000 (12:47 +0000)
When all subnets are turning off dhcp and killing the process,
this wrong log output "Killing dhcpmasq for network ..." occurs.
It should be "Killing dnsmasq for network ..."

Change-Id: Ic12dc66365d9d127b59279581227060ca6e65105
Closes-Bug: #1429775

neutron/agent/linux/dhcp.py

index c558167c0c979b93a904aab3487410f6c98bb6ef..374589722caafa6a48137c56405d2d5b3f3091ae 100644 (file)
@@ -413,7 +413,7 @@ class Dnsmasq(DhcpLocalProcess):
         # If all subnets turn off dhcp, kill the process.
         if not self._enable_dhcp():
             self.disable()
-            LOG.debug('Killing dhcpmasq for network since all subnets have '
+            LOG.debug('Killing dnsmasq for network since all subnets have '
                       'turned off DHCP: %s', self.network.id)
             return