From 54482cd80b9d64f2d7043cd8560504d9d5752fc1 Mon Sep 17 00:00:00 2001 From: Huan Xie Date: Sun, 9 Oct 2016 09:47:48 +0000 Subject: [PATCH] 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 --- lib/neutron-legacy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/neutron-legacy b/lib/neutron-legacy index 9e926a000f..938d5662ec 100644 --- a/lib/neutron-legacy +++ b/lib/neutron-legacy @@ -511,6 +511,10 @@ function start_neutron_agents { function stop_mutnauq_l2_agent { stop_process q-agt + + if [ "$VIRT_DRIVER" = 'xenserver' ]; then + stop_process q-domua + fi } # stop_mutnauq_other() - Stop running processes (non-screen)