Skip to content

Commit

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

Change-Id: I492de5094bfb740499a65b8483d6a6f26b070042
  • Loading branch information
dprince committed Mar 29, 2012
1 parent 998e57b commit 9b1bbc3
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 9b1bbc3

Please sign in to comment.