Move screen_stop n-cpu from stop_nova_rest to stop_nova_compute.
Cherry-Picked from master.
Change-Id: I672673a55869d3f68e12c476924fc742e8260f39
| ... | ... |
@@ -661,6 +661,7 @@ function start_nova() {
|
| 661 | 661 |
} |
| 662 | 662 |
|
| 663 | 663 |
function stop_nova_compute {
|
| 664 |
+ screen_stop n-cpu |
|
| 664 | 665 |
if is_service_enabled n-cpu && [[ -r $NOVA_PLUGINS/hypervisor-$VIRT_DRIVER ]]; then |
| 665 | 666 |
stop_nova_hypervisor |
| 666 | 667 |
fi |
| ... | ... |
@@ -670,7 +671,7 @@ function stop_nova_rest {
|
| 670 | 670 |
# Kill the nova screen windows |
| 671 | 671 |
# Some services are listed here twice since more than one instance |
| 672 | 672 |
# of a service may be running in certain configs. |
| 673 |
- for serv in n-api n-cpu n-crt n-net n-sch n-novnc n-xvnc n-cauth n-spice n-cond n-cond n-cell n-cell n-api-meta; do |
|
| 673 |
+ for serv in n-api n-crt n-net n-sch n-novnc n-xvnc n-cauth n-spice n-cond n-cond n-cell n-cell n-api-meta; do |
|
| 674 | 674 |
screen_stop $serv |
| 675 | 675 |
done |
| 676 | 676 |
} |