]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Stop the dhcp-agent process when dnsmasq version is not determined
authorEdgar Magana <emagana@gmail.com>
Fri, 30 May 2014 23:27:35 +0000 (16:27 -0700)
committerEdgar Magana <emagana@gmail.com>
Mon, 30 Jun 2014 18:57:23 +0000 (11:57 -0700)
commitf3165d2a48b039fb2d53ff2da72d57fe65fe3db3
treec507da07cd090125d8efa3557b4cb3d185c32daf
parentbf2a68990ec86cfcda7f9aeaa3e1d2eba962aa93
Stop the dhcp-agent process when dnsmasq version is not determined

When it is not possible to determinate the dnsmasq version
or dnsmasq is not installed, neutron shows only a warning message.
With this commit the dhcp-agent process will be stopped if the
dnsmasq service is not installed.
Modifies the dhcp version unit test with the expected SystemExit exception

Change-Id: Ia26eaae6f432305f412a4b6a4a6b2b7b15d99d45
Closes-Bug: 1212401
neutron/agent/linux/dhcp.py
neutron/tests/unit/test_linux_dhcp.py