From a15d9de92f724baebea0c202b14c2220df68e2a9 Mon Sep 17 00:00:00 2001 From: Li Ma Date: Tue, 19 Jan 2016 19:11:51 +0800 Subject: [PATCH] Kill radvd when stopping neutron-l3 service When stopping neutron-l3 service, radvd should be stopped. Change-Id: I46416c1df3a4da66e863a16baeb73886e110d447 Closes-Bug: #1535661 --- lib/neutron-legacy | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/neutron-legacy b/lib/neutron-legacy index 9497a23595..a1489714a0 100644 --- a/lib/neutron-legacy +++ b/lib/neutron-legacy @@ -764,7 +764,11 @@ function stop_neutron_other { fi stop_process q-svc - stop_process q-l3 + + if is_service_enabled q-l3; then + sudo pkill -f "radvd -C $DATA_DIR/neutron/ra" + stop_process q-l3 + fi if is_service_enabled q-meta; then sudo pkill -9 -f neutron-ns-metadata-proxy || :