Browse code

Kill radvd when stopping neutron-l3 service

When stopping neutron-l3 service, radvd should be
stopped.

Change-Id: I46416c1df3a4da66e863a16baeb73886e110d447
Closes-Bug: #1535661

Li Ma authored on 2016/01/19 20:11:51
Showing 1 changed files
... ...
@@ -764,7 +764,11 @@ function stop_neutron_other {
764 764
     fi
765 765
 
766 766
     stop_process q-svc
767
-    stop_process q-l3
767
+
768
+    if is_service_enabled q-l3; then
769
+        sudo pkill -f "radvd -C $DATA_DIR/neutron/ra"
770
+        stop_process q-l3
771
+    fi
768 772
 
769 773
     if is_service_enabled q-meta; then
770 774
         sudo pkill -9 -f neutron-ns-metadata-proxy || :