From d453485ff3ddd9602b993a31dc950dc8dc5970d8 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Thu, 2 Aug 2018 17:37:45 +0200 Subject: [states] openstack_ha: Retry rabbitmq state For hybrid deployments, the first run of rabbitmq:server sls might lead to 'no response' and a retry of the whole `openstack_ha` state. JIRA: FUEL-338 Change-Id: I7ec663f9babc8c55d2c8a2b31a6e674452f04166 Signed-off-by: Alexandru Avadanii --- mcp/config/states/openstack_ha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp/config/states') diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha index 99374c583..a32111f61 100755 --- a/mcp/config/states/openstack_ha +++ b/mcp/config/states/openstack_ha @@ -15,7 +15,7 @@ source "$(dirname "${BASH_SOURCE[0]}")/../../scripts/lib.sh" wait_for 5.0 "salt -I 'keepalived:cluster' state.sls keepalived -b 1" wait_for 5.0 "salt -I 'keepalived:cluster' pillar.get keepalived:cluster:instance:VIP:address" -salt -C 'I@rabbitmq:server and *01*' state.sls rabbitmq +wait_for 5.0 "salt -C 'I@rabbitmq:server and *01*' state.sls rabbitmq" salt -I 'rabbitmq:server' state.sls rabbitmq salt -I 'rabbitmq:server' cmd.run "rabbitmqctl cluster_status" -- cgit 1.2.3-korg