Merge "Stop nova conductor properly (singleconductor mode)" into stable/pike

This commit is contained in:
Jenkins 2017-09-06 19:07:28 +00:00 committed by Gerrit Code Review
commit 8ee2e34efb
1 changed files with 5 additions and 0 deletions

View File

@ -979,6 +979,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