summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhulingjie <easyzlj@gmail.com>2018-06-09 12:24:04 -0400
committerzhulingjie <easyzlj@gmail.com>2018-06-09 12:24:04 -0400
commitbe693c35181576678f5fc921b0730fb6663bbb14 (patch)
treec51ea5b50bbb48f2520d703beb909a03d53f27e6
parentbab6f2cf37380b99d43b531fc3a60a572bffc827 (diff)
Add the missing group for kolla-cli
Notes
Notes (review): Code-Review+1: Chason Chan <chason.chan@foxmail.com> Code-Review+2: caoyuan <cao.yuan@99cloud.net> Code-Review+2: Eduardo Gonzalez <dabarren@gmail.com> Workflow+1: Eduardo Gonzalez <dabarren@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 14 Jun 2018 10:23:54 +0000 Reviewed-on: https://review.openstack.org/575344 Project: openstack/kolla-ansible Branch: refs/heads/master
-rw-r--r--contrib/dev/vagrant/bootstrap.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/dev/vagrant/bootstrap.sh b/contrib/dev/vagrant/bootstrap.sh
index a492263..81477e6 100644
--- a/contrib/dev/vagrant/bootstrap.sh
+++ b/contrib/dev/vagrant/bootstrap.sh
@@ -175,7 +175,7 @@ function configure_kolla_cli {
175 if [ "$MODE" == 'aio' ]; then 175 if [ "$MODE" == 'aio' ]; then
176 kolla-cli setdeploy local 176 kolla-cli setdeploy local
177 kolla-cli host add localhost 177 kolla-cli host add localhost
178 for group in control deployment monitoring network storage; do 178 for group in control deployment external-compute monitoring network storage; do
179 kolla-cli group addhost $group localhost 179 kolla-cli group addhost $group localhost
180 done 180 done
181 else 181 else
@@ -202,6 +202,12 @@ function configure_kolla_cli {
202 kolla-cli host add $node_name 202 kolla-cli host add $node_name
203 kolla-cli group addhost control $node_name 203 kolla-cli group addhost control $node_name
204 done 204 done
205
206 for node_num in $(seq 1 ${NUMBER_OF_MONITOR_NODES}); do
207 node_name="monitor0${node_num}"
208 kolla-cli host add $node_name
209 kolla-cli group addhost monitoring $node_name
210 done
205 fi 211 fi
206} 212}
207 213