Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
When dnsmasq fails to HUP log an error.
Fixes LP Bug #967937.

Change-Id: I492de5094bfb740499a65b8483d6a6f26b070042
  • Loading branch information
dprince authored and vishvananda committed Mar 30, 2012
1 parent ada63db commit 0e598d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova/network/linux_net.py
Expand Up @@ -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)

Expand Down

0 comments on commit 0e598d2

Please sign in to comment.