Browse code

Only stop n-cpu in stop_nova_compute

Move screen_stop n-cpu from stop_nova_rest to stop_nova_compute.

Change-Id: I672673a55869d3f68e12c476924fc742e8260f39

Joe Gordon authored on 2014/03/14 10:09:17
Showing 1 changed files
... ...
@@ -716,6 +716,7 @@ function start_nova {
716 716
 }
717 717
 
718 718
 function stop_nova_compute {
719
+    screen_stop n-cpu
719 720
     if is_service_enabled n-cpu && [[ -r $NOVA_PLUGINS/hypervisor-$VIRT_DRIVER ]]; then
720 721
         stop_nova_hypervisor
721 722
     fi
... ...
@@ -725,7 +726,7 @@ function stop_nova_rest {
725 725
     # Kill the nova screen windows
726 726
     # Some services are listed here twice since more than one instance
727 727
     # of a service may be running in certain configs.
728
-    for serv in n-api n-cpu n-crt n-net n-sch n-novnc n-xvnc n-cauth n-spice n-cond n-cell n-cell n-api-meta n-obj; do
728
+    for serv in n-api n-crt n-net n-sch n-novnc n-xvnc n-cauth n-spice n-cond n-cell n-cell n-api-meta n-obj; do
729 729
         screen_stop $serv
730 730
     done
731 731
 }