From 9b1bbc330fbd02caf8008e40551460c164543e3d Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Wed, 28 Mar 2012 22:10:51 -0400 Subject: When dnsmasq fails to HUP log an error. Fixes LP Bug #967937. Change-Id: I492de5094bfb740499a65b8483d6a6f26b070042 --- nova/network/linux_net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/network/linux_net.py b/nova/network/linux_net.py index 7258e627a..2c81f71f0 100755 --- a/nova/network/linux_net.py +++ b/nova/network/linux_net.py @@ -687,7 +687,7 @@ def restart_dhcp(context, dev, network_ref): _execute('kill', '-HUP', pid, run_as_root=True) return except Exception as exc: # pylint: disable=W0703 - LOG.debug(_('Hupping dnsmasq threw %s'), exc) + LOG.error(_('Hupping dnsmasq threw %s'), exc) else: LOG.debug(_('Pid %d is stale, relaunching dnsmasq'), pid) -- cgit