From c75ba4b14bf2b5f2b21ebc8705e2e4e60746f960 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Thu, 26 Oct 2017 12:46:58 +0400 Subject: Run aodh state one by one Apply aodh state in consecutive order to avoid a race condition with database synchronization. Change-Id: I4684fbeaaba2c9780084e0a64fe6453bccfb67e0 Signed-off-by: Michael Polenchuk (cherry picked from commit 9cfa75272ba2fd9abab416db1f22df5989c9959e) --- mcp/config/states/openstack_ha | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha index 89733cc91..9237cc00b 100755 --- a/mcp/config/states/openstack_ha +++ b/mcp/config/states/openstack_ha @@ -58,7 +58,7 @@ wait_for 90 "salt -C 'I@mongodb:server and *01*' cmd.run 'mongo localhost:27017/ salt -C 'I@mongodb:server and *01*' cmd.run 'mongo localhost:27017/admin --eval "rs.initiate()"' salt -C 'I@mongodb:server and *01*' state.sls mongodb -salt -I 'aodh:server' state.sls aodh +salt -I 'aodh:server' state.sls aodh -b 1 salt -I 'ceilometer:server' state.sls ceilometer salt -I 'ceilometer:agent' state.sls ceilometer -- cgit 1.2.3-korg