aboutsummaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-15 17:46:24 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-11-16 16:45:10 +0000
commitcbb8a71c15fd44cfdff386d9aa0c57343abd6a71 (patch)
tree1a18318f236d4d99bcb57fd68c1b97f50ea558ea /mcp
parente45c95993f33f38ef2a92a7b277e5888815df0c5 (diff)
[baremetal] Retry keystone.client state on failure
JIRA: FUEL-306 Change-Id: I648545890c1f7dc59176beac1a0593aed54079cb Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Delia Popescu <delia.popescu@enea.com> (cherry picked from commit dcbc90f89292bf5070e8e0b54a760755b8206346)
Diffstat (limited to 'mcp')
-rwxr-xr-xmcp/config/states/openstack_ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha
index c3a51a85a..b9b4c0a21 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