Browse code

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

Prashant Shetty authored on 2017/02/23 22:48:12
Showing 1 changed files
... ...
@@ -872,7 +872,7 @@ fi
872 872
 # if placement-api or placement-client is active, and n-cpu on the
873 873
 # same box.
874 874
 if is_service_enabled placement placement-client; then
875
-    if is_service_enabled n-cpu; then
875
+    if is_service_enabled n-cpu || is_service_enabled n-sch; then
876 876
         configure_placement_nova_compute
877 877
     fi
878 878
 fi