From dcbc90f89292bf5070e8e0b54a760755b8206346 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Wed, 15 Nov 2017 17:46:24 +0100 Subject: [baremetal] Retry keystone.client state on failure JIRA: FUEL-306 Change-Id: I648545890c1f7dc59176beac1a0593aed54079cb Signed-off-by: Alexandru Avadanii Signed-off-by: Delia Popescu --- mcp/config/states/openstack_ha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp') 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 -- cgit 1.2.3-korg