Merge "Start placement before services that might like to use it"

This commit is contained in:
Jenkins 2017-06-06 00:01:06 +00:00 committed by Gerrit Code Review
commit bc8d7ef89e

View File

@ -1300,6 +1300,13 @@ elif is_service_enabled $DATABASE_BACKENDS && is_service_enabled n-net; then
$NOVA_BIN_DIR/nova-manage --config-file $NM_CONF floating create --ip_range=$TEST_FLOATING_RANGE --pool=$TEST_FLOATING_POOL
fi
# Start placement before any of the service that are likely to want
# to use it to manage resource providers.
if is_service_enabled placement; then
echo_summary "Starting Placement"
start_placement
fi
if is_service_enabled neutron; then
start_neutron
fi
@ -1314,10 +1321,6 @@ if is_service_enabled nova; then
start_nova
create_flavors
fi
if is_service_enabled placement; then
echo_summary "Starting Placement"
start_placement
fi
if is_service_enabled cinder; then
echo_summary "Starting Cinder"
start_cinder