Merge "Fix service start sequence"

This commit is contained in:
Jenkins 2015-01-12 05:22:29 +00:00 committed by Gerrit Code Review
commit e9431ed6a9
2 changed files with 9 additions and 6 deletions

View File

@ -769,8 +769,8 @@ function start_nova_rest {
}
function start_nova {
start_nova_compute
start_nova_rest
start_nova_compute
}
function stop_nova_compute {

View File

@ -1030,6 +1030,14 @@ if is_service_enabled key; then
fi
# ZeroMQ
# ------
if is_service_enabled zeromq; then
echo_summary "Starting zeromq receiver"
run_process zeromq "$OSLO_BIN_DIR/oslo-messaging-zmq-receiver"
fi
# Horizon
# -------
@ -1208,11 +1216,6 @@ if is_service_enabled nova; then
iniset $NOVA_CONF keymgr fixed_key $(generate_hex_string 32)
fi
if is_service_enabled zeromq; then
echo_summary "Starting zermomq receiver"
run_process zeromq "$OSLO_BIN_DIR/oslo-messaging-zmq-receiver"
fi
# Launch the nova-api and wait for it to answer before continuing
if is_service_enabled n-api; then
echo_summary "Starting Nova API"