aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-06-08 15:03:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-06-08 15:03:05 +0000
commit18e2ece7f9f1aba3a4bdc031020b97f40e65fb3c (patch)
tree5cef94699e17ea1ae3519c0e86bd222fb3186790
parent941a31e1e7f64f38a487b4e493bc25fdf29657da (diff)
parent91fd8f2dd7a2d8642581785772bd30cc0d52e3b2 (diff)
Merge "Discover computes after they are registered"
-rwxr-xr-xmcp/config/states/networks3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcp/config/states/networks b/mcp/config/states/networks
index 222a0726d..e9a9f5190 100755
--- a/mcp/config/states/networks
+++ b/mcp/config/states/networks
@@ -35,3 +35,6 @@ salt -C 'I@nova:controller and *01*' cmd.run ". /root/keystonercv3; \
openstack subnet create --gateway ${PUBLIC_NET_GATEWAY} --no-dhcp \
--allocation-pool start=${POOL_START_IP},end=${POOL_END_IP} \
--network floating_net --subnet-range ${PUBLIC_NET} floating_subnet"
+
+# Discover compute hosts after they are registered
+salt -C 'I@nova:controller and *01*' state.sls_id nova_controller_discover_hosts nova