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:
parent
5ac5134828
commit
752ab11dfa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user