From 98c95f4fa1029adff778902be3afb92c080e15b3 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Wed, 16 Aug 2017 09:10:04 -0400 Subject: [PATCH] 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 --- lib/nova | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/nova b/lib/nova index 31b51c7c07..fa09fd8fc1 100644 --- a/lib/nova +++ b/lib/nova @@ -988,6 +988,11 @@ function stop_nova_rest { } function stop_nova_conductor { + if [[ "${CELLSV2_SETUP}" == "singleconductor" ]]; then + stop_process n-cond + return + fi + enable_nova_fleet for srv in n-super-cond $(seq -f n-cond-cell%0.f 1 $NOVA_NUM_CELLS); do if is_service_enabled $srv; then