The l3 agent stop function should NOT stop dnsmasq

The dnsmasq instances are managed by the quantum-dhcp-agent so
killing then make no sense and creates races in stop when both
services are running on the same node.
This commit is contained in:
James Page 2012-12-14 16:52:30 +00:00
parent 5ac5134828
commit 752ab11dfa

View File

@ -274,7 +274,6 @@ quantum_l3_agent_stop() {
# Try SIGTERM
pid=`cat $OCF_RESKEY_pid`
pid="$pid `ps ax | grep -v grep | grep 'dnsmasq' | cut -c1-5`"
ocf_run kill -s TERM $pid
rc=$?
if [ $rc -ne 0 ]; then