Browse Source

Add the missing group for kolla-cli

Change-Id: Ibc06f614604150a331787889a59407803a411b90
tags/7.0.0.0b3
zhulingjie 11 months ago
parent
commit
be693c3518
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      contrib/dev/vagrant/bootstrap.sh

+ 7
- 1
contrib/dev/vagrant/bootstrap.sh View File

@@ -175,7 +175,7 @@ function configure_kolla_cli {
175 175
     if [ "$MODE" == 'aio' ]; then
176 176
         kolla-cli setdeploy local
177 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 179
             kolla-cli group addhost $group localhost
180 180
         done
181 181
     else
@@ -202,6 +202,12 @@ function configure_kolla_cli {
202 202
             kolla-cli host add $node_name
203 203
             kolla-cli group addhost control $node_name
204 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 211
     fi
206 212
 }
207 213
 

Loading…
Cancel
Save