diff options
Diffstat (limited to 'mcp/config/states')
-rwxr-xr-x | mcp/config/states/openstack_ha | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha index c3a51a85a..e1fdf7382 100755 --- a/mcp/config/states/openstack_ha +++ b/mcp/config/states/openstack_ha @@ -35,7 +35,7 @@ salt -I 'haproxy:proxy' service.restart rsyslog salt -I 'keystone:server' state.sls keystone.server -b 1 salt -I 'keystone:server' service.restart apache2 -salt -I 'keystone:client' state.sls keystone.client +wait_for 30 "salt -I 'keystone:client' state.sls keystone.client" salt -I 'keystone:server' cmd.run ". /root/keystonercv3; openstack service list" salt -I 'glance:server' state.sls glance -b 1 @@ -64,7 +64,7 @@ salt -I 'ceilometer:agent' state.sls ceilometer salt -I 'horizon:server' state.sls horizon salt -I 'apache:server' state.sls apache -salt -I 'nginx:server' state.sls nginx +salt -I 'nginx:server' state.sls nginx,sphinx clstr_vip_addr=$(salt -C 'I@nginx:server and *01*' --out=yaml \ pillar.get _param:cluster_vip_address | awk '{print $2; exit}') |