Enable dstat service on all nodes

1. fix a bug which will result into the dstat service is not enabled
   in the node_type of "all"
2. add dstat into the service list for compute nodes.

Change-Id: Ia8e66cebf70e0ebe537885dd9fa81f6a849a4273
This commit is contained in:
jianghua wang 2017-08-18 09:46:07 +00:00
parent cbe86763cc
commit 5078424491
1 changed files with 2 additions and 2 deletions

View File

@ -492,11 +492,11 @@ LOCALCONF_CONTENT_ENDS_HERE
if [ "$NODE_TYPE" = "all" ]; then
cat << LOCALCONF_CONTENT_ENDS_HERE >> local.conf
ENABLED_SERVICES+=neutron,q-domua
ENABLED_SERVICES+=,neutron,q-domua
LOCALCONF_CONTENT_ENDS_HERE
else
cat << LOCALCONF_CONTENT_ENDS_HERE >> local.conf
ENABLED_SERVICES=neutron,q-agt,q-domua,n-cpu,placement-client
ENABLED_SERVICES=neutron,q-agt,q-domua,n-cpu,placement-client,dstat
SERVICE_HOST=$CONTROLLER_IP
MYSQL_HOST=$CONTROLLER_IP
GLANCE_HOST=$CONTROLLER_IP