Browse files

When dnsmasq fails to HUP log an error.

Fixes LP Bug #967937.

Change-Id: I492de5094bfb740499a65b8483d6a6f26b070042
  • Loading branch information...
dprince authored and vishvananda committed Mar 29, 2012
1 parent ada63db commit 0e598d2d8685198027f0cffcdc651731d4b2fd3a
Showing with 1 addition and 1 deletion.
  1. +1 −1 nova/network/
@@ -687,7 +687,7 @@ def restart_dhcp(context, dev, network_ref):
_execute('kill', '-HUP', pid, run_as_root=True)
except Exception as exc: # pylint: disable=W0703
LOG.debug(_('Hupping dnsmasq threw %s'), exc)
LOG.error(_('Hupping dnsmasq threw %s'), exc)
LOG.debug(_('Pid %d is stale, relaunching dnsmasq'), pid)

0 comments on commit 0e598d2

Please sign in to comment.