diff options
| author | zhulingjie <easyzlj@gmail.com> | 2018-06-09 12:24:04 -0400 |
|---|---|---|
| committer | zhulingjie <easyzlj@gmail.com> | 2018-06-09 12:24:04 -0400 |
| commit | be693c35181576678f5fc921b0730fb6663bbb14 (patch) | |
| tree | c51ea5b50bbb48f2520d703beb909a03d53f27e6 /contrib | |
| parent | bab6f2cf37380b99d43b531fc3a60a572bffc827 (diff) | |
| download | kolla-ansible-be693c35181576678f5fc921b0730fb6663bbb14.tar.gz kolla-ansible-be693c35181576678f5fc921b0730fb6663bbb14.zip | |
Add the missing group for kolla-cli
Change-Id: Ibc06f614604150a331787889a59407803a411b90
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/dev/vagrant/bootstrap.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/dev/vagrant/bootstrap.sh b/contrib/dev/vagrant/bootstrap.sh index a49226318..81477e61e 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 } |
