Start placement before services that might like to use it
Otherwise those services, notably n-cpu, will try to register resource providers before placement is ready. Change-Id: I89fd4fa42baf3d19ee209c59cd85b97adb97c58b Closes-Bug: #1695634
This commit is contained in:
parent
dc9ef55fc6
commit
7a74c2ab24
11
stack.sh
11
stack.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue