From be693c35181576678f5fc921b0730fb6663bbb14 Mon Sep 17 00:00:00 2001 From: zhulingjie Date: Sat, 9 Jun 2018 12:24:04 -0400 Subject: [PATCH] Add the missing group for kolla-cli Change-Id: Ibc06f614604150a331787889a59407803a411b90 --- contrib/dev/vagrant/bootstrap.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/contrib/dev/vagrant/bootstrap.sh b/contrib/dev/vagrant/bootstrap.sh index a49226318d..81477e61e9 100644 --- a/contrib/dev/vagrant/bootstrap.sh +++ b/contrib/dev/vagrant/bootstrap.sh @@ -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 }