Browse code

Stop nova conductor properly (singleconductor mode)

stop_nova_conductor dropped the ball when the CELLSV2_SETUP mode is
set to "singleconductor". We should cleanup the older style "n-cond"
in this case.

Change-Id: I9ffd6d09df6f390a842b8a374097f144564d2db4

Davanum Srinivas authored on 2017/08/16 22:10:04
Showing 1 changed files
... ...
@@ -988,6 +988,11 @@ function stop_nova_rest {
988 988
 }
989 989
 
990 990
 function stop_nova_conductor {
991
+    if [[ "${CELLSV2_SETUP}" == "singleconductor" ]]; then
992
+        stop_process n-cond
993
+        return
994
+    fi
995
+
991 996
     enable_nova_fleet
992 997
     for srv in n-super-cond $(seq -f n-cond-cell%0.f 1 $NOVA_NUM_CELLS); do
993 998
         if is_service_enabled $srv; then