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
(cherry picked from commit f58b373563)
This commit is contained in:
Prashant Shetty
2017-02-23 13:48:12 +00:00
parent 00edb2f380
commit 770f0432a9

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