Browse code

Stop q-domua process when XenServer is used

When using XenServer, it will create two neutron-openvswitch-agent
q-agt and q-domua even it's single box environment, but it didn't
stop the q-domua, this patch is to stop q-domua in unstack.sh

Change-Id: I511ed534bfb7d5fe6136f6a0b33f1d749d30862c
Closes-Bug: #1631721

Huan Xie authored on 2016/10/09 18:47:48
Showing 1 changed files
... ...
@@ -511,6 +511,10 @@ function start_neutron_agents {
511 511
 
512 512
 function stop_mutnauq_l2_agent {
513 513
     stop_process q-agt
514
+
515
+    if [ "$VIRT_DRIVER" = 'xenserver' ]; then
516
+        stop_process q-domua
517
+    fi
514 518
 }
515 519
 
516 520
 # stop_mutnauq_other() - Stop running processes (non-screen)