diff options
Diffstat (limited to 'mcp/config')
-rwxr-xr-x | mcp/config/states/networks | 3 |
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 |