Add the missing group for kolla-cli

Change-Id: Ibc06f614604150a331787889a59407803a411b90
This commit is contained in:
zhulingjie 2018-06-09 12:24:04 -04:00
parent bab6f2cf37
commit be693c3518
1 changed files with 7 additions and 1 deletions

View File

@ -175,7 +175,7 @@ function configure_kolla_cli {
if [ "$MODE" == 'aio' ]; then
kolla-cli setdeploy local
kolla-cli host add localhost
for group in control deployment monitoring network storage; do
for group in control deployment external-compute monitoring network storage; do
kolla-cli group addhost $group localhost
done
else
@ -202,6 +202,12 @@ function configure_kolla_cli {
kolla-cli host add $node_name
kolla-cli group addhost control $node_name
done
for node_num in $(seq 1 ${NUMBER_OF_MONITOR_NODES}); do
node_name="monitor0${node_num}"
kolla-cli host add $node_name
kolla-cli group addhost monitoring $node_name
done
fi
}