Merge "Stop n-cpu by correct process name /w fake"
This commit is contained in:
commit
af03045726
9
lib/nova
9
lib/nova
@ -763,7 +763,14 @@ function start_nova {
|
||||
}
|
||||
|
||||
function stop_nova_compute {
|
||||
stop_process n-cpu
|
||||
if [ "$VIRT_DRIVER" == "fake" ]; then
|
||||
local i
|
||||
for i in `seq 1 $NUMBER_FAKE_NOVA_COMPUTE`; do
|
||||
stop_process n-cpu-${i}
|
||||
done
|
||||
else
|
||||
stop_process n-cpu
|
||||
fi
|
||||
if is_service_enabled n-cpu && [[ -r $NOVA_PLUGINS/hypervisor-$VIRT_DRIVER ]]; then
|
||||
stop_nova_hypervisor
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user