Skip to content

Commit bc8d7ef

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Start placement before services that might like to use it"
2 parents 64d2085 + 7a74c2a commit bc8d7ef

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

stack.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,13 @@ elif is_service_enabled $DATABASE_BACKENDS && is_service_enabled n-net; then
13001300
$NOVA_BIN_DIR/nova-manage --config-file $NM_CONF floating create --ip_range=$TEST_FLOATING_RANGE --pool=$TEST_FLOATING_POOL
13011301
fi
13021302

1303+
# Start placement before any of the service that are likely to want
1304+
# to use it to manage resource providers.
1305+
if is_service_enabled placement; then
1306+
echo_summary "Starting Placement"
1307+
start_placement
1308+
fi
1309+
13031310
if is_service_enabled neutron; then
13041311
start_neutron
13051312
fi
@@ -1314,10 +1321,6 @@ if is_service_enabled nova; then
13141321
start_nova
13151322
create_flavors
13161323
fi
1317-
if is_service_enabled placement; then
1318-
echo_summary "Starting Placement"
1319-
start_placement
1320-
fi
13211324
if is_service_enabled cinder; then
13221325
echo_summary "Starting Cinder"
13231326
start_cinder

0 commit comments

Comments
 (0)