Enable placement section on controller in multinode setup

Currently placement api section will be configured on controller
only if service n-cpu is running. It breaks multi node setup.
Closes-Bug: #1667219

Change-Id: I8b0f60f253859f704bb9831d7dac8f55df353ac7
This commit is contained in:
Prashant Shetty 2017-02-23 13:48:12 +00:00
parent 0fddb35cd8
commit f58b373563
1 changed files with 1 additions and 1 deletions

View File

@ -872,7 +872,7 @@ fi
# if placement-api or placement-client is active, and n-cpu on the
# same box.
if is_service_enabled placement placement-client; then
if is_service_enabled n-cpu; then
if is_service_enabled n-cpu || is_service_enabled n-sch; then
configure_placement_nova_compute
fi
fi