summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2012-03-28 22:10:51 -0400
committerVishvananda Ishaya <vishvananda@gmail.com>2012-03-30 16:53:38 -0700
commit0e598d2d8685198027f0cffcdc651731d4b2fd3a (patch)
tree2d2b11f7b1e24606dcce0ddbc74e70249818a94c
parentada63db6be8aa28a0140886b1d7c202f1e66f78e (diff)
downloadnova-0e598d2d8685198027f0cffcdc651731d4b2fd3a.tar.gz
When dnsmasq fails to HUP log an error.
Fixes LP Bug #967937. Change-Id: I492de5094bfb740499a65b8483d6a6f26b070042
-rwxr-xr-xnova/network/linux_net.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/network/linux_net.py b/nova/network/linux_net.py
index 7258e627a8..2c81f71f07 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)