Merge "Add compute to devstack"
This commit is contained in:
commit
967a4af0ca
@ -247,18 +247,30 @@ function start_zun_api {
|
||||
fi
|
||||
}
|
||||
|
||||
# start_zun_conductor() - Start Zun conductor
|
||||
function start_zun_conductor {
|
||||
echo "start zun conductor "
|
||||
run_process zun-conductor "$ZUN_BIN_DIR/zun-conductor"
|
||||
}
|
||||
|
||||
# start_zun_compute() - Start Zun compute agent
|
||||
function start_zun_compute {
|
||||
echo "start zun compute"
|
||||
run_process zun-compute "$ZUN_BIN_DIR/zun-compute"
|
||||
}
|
||||
|
||||
# start_zun() - Start running processes, including screen
|
||||
function start_zun {
|
||||
|
||||
# ``run_process`` checks ``is_service_enabled``, it is not needed here
|
||||
start_zun_api
|
||||
run_process zun-conductor "$ZUN_BIN_DIR/zun-conductor"
|
||||
start_zun_conductor
|
||||
start_zun_compute
|
||||
}
|
||||
|
||||
# stop_zun() - Stop running processes (non-screen)
|
||||
function stop_zun {
|
||||
for serv in zun-api zun-conductor; do
|
||||
for serv in zun-api zun-conductor zun-compute; do
|
||||
stop_process $serv
|
||||
done
|
||||
}
|
||||
|
@ -18,3 +18,4 @@
|
||||
# Enable Zun services
|
||||
enable_service zun-api
|
||||
enable_service zun-conductor
|
||||
enable_service zun-compute
|
||||
|
Loading…
Reference in New Issue
Block a user