summaryrefslogtreecommitdiffstats
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-15 17:50:26 +0100
commitdcbc90f89292bf5070e8e0b54a760755b8206346 (patch)
treeb37c9784e149390b17493ec5cd6926feeb720828
parent167e704d40bb40b1edf2e014444f0201a28178fa (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>
-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