Browse code

Merge "Kill neutron-rootwrap-daemon when stop neutron service"

Jenkins authored on 2016/01/04 22:11:48
Showing 1 changed files
... ...
@@ -783,6 +783,10 @@ function stop_neutron_other {
783 783
     if is_service_enabled q-metering; then
784 784
         neutron_metering_stop
785 785
     fi
786
+
787
+    if [[ "$Q_USE_ROOTWRAP_DAEMON" == "True" ]]; then
788
+        sudo pkill -9 -f $NEUTRON_ROOTWRAP-daemon || :
789
+    fi
786 790
 }
787 791
 
788 792
 # stop_neutron() - Stop running processes (non-screen)